mirror of
https://github.com/apache/nuttx.git
synced 2026-05-13 10:38:40 +08:00
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>