Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information