mirror of
https://github.com/apache/nuttx.git
synced 2026-10-08 06:45:19 +00:00
sim_can_work() in sim_cansock.c and sim_canchar.c read a single frame from the host socket and requeued itself after SIM_CAN_WORK_DELAY (USEC2TICK(1000), one 10 ms tick with the default sim tick), capping RX at about 100 frames/s. A burst from the bus was then delivered over hundreds of milliseconds, and frames from an earlier burst reached sockets opened later. Loop while frames are available. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: raiden00pl <raiden00@railab.me> |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| CMakeLists.txt | ||
| Kconfig | ||