mirror of
https://github.com/apache/nuttx.git
synced 2026-10-07 06:15:20 +00:00
The message passed to the write can have `cm.hdr.ch_rtr` set and if nonzero DLC is specified in the frame then invalid number of bytes is removed from the buffer as RTR frames do not have any data even when DLC is nonzero. This was tested on SAMv7 (mcan). With this change a custom RTR can be sent. Signed-off-by: Karel Kočí <cynerd@email.cz> |
||
|---|---|---|
| .. | ||
| can.c | ||
| can_common.c | ||
| can_sender.c | ||
| CMakeLists.txt | ||
| ctucanfd.h | ||
| ctucanfd_pci.c | ||
| Kconfig | ||
| kvaser_pci.c | ||
| Make.defs | ||
| mcp2515.c | ||
| mcp2515.h | ||
| sja1000.c | ||
| sja1000.h | ||