summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgbcwbz <[email protected]>2022-05-09 21:06:23 +0800
committerMan, Jianting (Meco) <[email protected]>2022-08-13 23:07:43 -0400
commit84fe80fbf986c16640ae63b2799628e8351e02a4 (patch)
tree564f8ab8cbc8a43d8c919bca142bc66896a2ab44 /src
parent666af5e29d04b46f4b88cd10eed0ddee8f9103aa (diff)
[DeviceDriver] Fix can infinite loop when can driver send error
- in _can_int_tx if can driver sendmsg do not return RT_EOK, it will repeat until sendmsg return RT_EOK - if error occur on can bus(wire broken or EMI), all threads that have lower priority will not be executed - we should let application layer to determine if resend is appropriate when send fail, besides in data link layer, can already implemented auto resend in hardware
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions