Files
klipper/klippy
Ben Lye 109aab9dc0 hall_filament_width_sensor: Avoid race conditions
Race conditions exist when `M221 S100` commands are sent outside the
timer, while the sensor is active. This intermittently prevents the flow
multiplier resetting to 100% when either flow compensation or the width
sensor are changed to disabled.

We can avoid this by moving the diable actions, including the `M221 S100`
commands, inside the timer loop and only using `M221` outside the timer
while the sensor is disabled.

Signed-off-by: Ben Lye ben@lye.co.nz
2026-04-08 14:57:04 -04:00
..
2026-02-07 14:42:41 -05:00
2022-05-09 16:33:46 -04:00
2025-10-03 12:24:25 -04:00