Skip to content

Commit 31e6e5c

Browse files
committed
Add CAN object structure
1 parent 25e885e commit 31e6e5c

File tree

1 file changed

+5
-0
lines changed
  • targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG

1 file changed

+5
-0
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/objects.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ struct analogin_s {
4646
uint8_t channel;
4747
};
4848

49+
struct can_s {
50+
CANName can;
51+
int index;
52+
};
53+
4954
struct trng_s {
5055
RNG_HandleTypeDef handle;
5156
};

0 commit comments

Comments
 (0)