mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
99d7cb34d8
Whole CAN code in RIOT is using 'struct can_frame' to represent a CAN frame. However incoming CAN FD support will bring 'struct canfd_frame' to represent CAN FD frames. Even if the 'struct canfd_frame' has additional flags and a bigger payload, it is aligned on 'struct can_frame' and thus they can be referenced by the same pointers in the code. As it is impossible to predict which one will be used in RIOT, just define a new type 'can_frame_t' which will map to the right struct according to the MCU CAN supported format. Signed-off-by: Gilles DOFFE <gilles.doffe@rtone.fr> |
||
---|---|---|
.. | ||
cmds | ||
democommands | ||
doc.txt | ||
Kconfig | ||
Kconfig.config | ||
Makefile | ||
Makefile.dep | ||
shell.c |