Handle unexpected spam from CAN while debugging #168
JensOgorek
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
While debugging the CAN module using can.unmute(), we noticed that there’s a potential risk of locking up the ESP32. If a large number of CAN messages are received within a short period, the logging loop can occupy the thread for too long, triggering a watchdog timeout. This results in the ESP32 requiring a manual reboot.
It might be worth adding a safeguard here, for example:
Beta Was this translation helpful? Give feedback.
All reactions