aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/buttons.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2025-01-14 22:38:08 -0500
committerKevin O'Connor <kevin@koconnor.net>2025-02-02 18:43:34 -0500
commit2c90c97ccd5ceb9b4071f95866160344f013a86f (patch)
tree1b7028ae85b0cdd4aa1748cea9f5ba649170a1d7 /klippy/extras/buttons.py
parent2db2ef82f2c0ba08d7e72fbab355de0846272b3a (diff)
downloadkutter-2c90c97ccd5ceb9b4071f95866160344f013a86f.tar.gz
kutter-2c90c97ccd5ceb9b4071f95866160344f013a86f.tar.xz
kutter-2c90c97ccd5ceb9b4071f95866160344f013a86f.zip
usb_canbus: Detect canbus stalls when in usb to canbus bridge mode
If the low-level canbus stops working then it could become impossible to send messages to and from the canbus bridge node itself. This can make it difficult to diagnose canbus problems. Change the canbus bridge code to detect if message transmits become stalled for 50+ milliseconds and go into a "discarding" state. In this discarding state, messages destined for the canbus will be discarded until the canbus becomes active again. In this discarding state it will therefore be possible to transmit messages to and from the canbus bridge node. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/buttons.py')
0 files changed, 0 insertions, 0 deletions