From 272e815522b0bc8e0806e052b73a5cc1af979cd7 Mon Sep 17 00:00:00 2001 From: Gareth Farrington Date: Thu, 20 Mar 2025 16:55:33 -0700 Subject: buttons: Debounce gcode_button and filament_switch_sensor (#6848) Add `debounce_delay` config option which sets the debounce time, defaults to 0 Signed-off-by: Gareth Farrington --- klippy/extras/hall_filament_width_sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klippy/extras/hall_filament_width_sensor.py') diff --git a/klippy/extras/hall_filament_width_sensor.py b/klippy/extras/hall_filament_width_sensor.py index 8dab3522..c71b2b2e 100644 --- a/klippy/extras/hall_filament_width_sensor.py +++ b/klippy/extras/hall_filament_width_sensor.py @@ -125,7 +125,7 @@ class HallFilamentWidthSensor: # Update filament array for lastFilamentWidthReading self.update_filament_array(last_epos) # Check runout - self.runout_helper.note_filament_present( + self.runout_helper.note_filament_present(eventtime, self.runout_dia_min <= self.diameter <= self.runout_dia_max) # Does filament exists if self.diameter > 0.5: -- cgit v1.2.3-70-g09d2