diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2023-10-04 22:26:10 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2023-10-04 22:42:14 -0400 |
commit | 447125faae62bfad4a0e483264453a39c9ba52d8 (patch) | |
tree | 5e8a69573be31428339bcc6ffd2d0437714e7f33 /src | |
parent | 043f18da260378d11e550248c032702017dafb49 (diff) | |
download | kutter-447125faae62bfad4a0e483264453a39c9ba52d8.tar.gz kutter-447125faae62bfad4a0e483264453a39c9ba52d8.tar.xz kutter-447125faae62bfad4a0e483264453a39c9ba52d8.zip |
serialqueue: Eventually time out if unable to write CANbus messages
Klipper logs an error on a failed CANbus write. Unfortunately, if the
bus becomes permanently disabled (eg, due to a user removing power to
devices on the CANbus) then it can result in the logs filling with
error messages.
Permanently disable the low-level processing of messages if CANbus
writes continually fail for at least 10 seconds. This avoids filling
the log with redundant messages.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions