mirror of https://github.com/Desuuuu/klipper.git
2dc20c011d
Allows a limited number of DS18B20 read failures before stopping the printer. This is designed to tolerate spurious read errors, while still stopping for serious issues. The printer will stop when the sensor fails to report a value five times in a row. Implementation works as follows: The MCU reports any read errors using a new "fault" parameter in its answers. The Python code tracks the number of errors and triggers the shutdown. This paves the way for more sophisticated error handling in the future, as well as an example for other sensors to follow. Signed-off-by: Lorenzo Pfeifer <Lorenzo.Pfeifer+github@googlemail.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
analog.c | ||
console.c | ||
gpio.c | ||
gpio.h | ||
hard_pwm.c | ||
i2c.c | ||
internal.h | ||
main.c | ||
pca9685.c | ||
sensor_ds18b20.c | ||
spidev.c | ||
timer.c | ||
watchdog.c |