816b1b28a0
This commit moves can_bytes2dlc and can_dlc2bytes from kernel internal functions to API. These functions are necessary to convert bytes to dlc for CAN FD frames and has to be accessible from the application since can_hdr_s does not store message length in bytes but directly in dlc. Signed-off-by: Michal Lenc <michallenc@seznam.cz> |
||
---|---|---|
.. | ||
can.c | ||
CMakeLists.txt | ||
Kconfig | ||
Make.defs | ||
mcp2515.c | ||
mcp2515.h | ||
sja1000.c | ||
sja1000.h |