diff --git a/klippy/extras/filament_motion_sensor.py b/klippy/extras/filament_motion_sensor.py index 7928c767175c..83726e346118 100644 --- a/klippy/extras/filament_motion_sensor.py +++ b/klippy/extras/filament_motion_sensor.py @@ -86,7 +86,7 @@ def set_filament_sensor(self, gcmd): gcmd.respond_info(self.get_sensor_status()) return if enable is not None: - if enable and not self.runout_helper.sensor_enabled: + if enable != self.runout_helper.sensor_enabled: reset = 1 self.runout_helper.sensor_enabled = enable if detection_length is not None: