diff options
author | Gareth Farrington <gareth@waves.ky> | 2025-03-20 16:55:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-20 19:55:33 -0400 |
commit | 272e815522b0bc8e0806e052b73a5cc1af979cd7 (patch) | |
tree | 8cbf07cad71d2113a55c45d53900ac3ad15ba8e2 /klippy/extras/hall_filament_width_sensor.py | |
parent | 06d65ef5ac139e2c84e7381c190ee2b1e4ec4237 (diff) | |
download | kutter-272e815522b0bc8e0806e052b73a5cc1af979cd7.tar.gz kutter-272e815522b0bc8e0806e052b73a5cc1af979cd7.tar.xz kutter-272e815522b0bc8e0806e052b73a5cc1af979cd7.zip |
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 <gareth@waves.ky>
Diffstat (limited to 'klippy/extras/hall_filament_width_sensor.py')
-rw-r--r-- | klippy/extras/hall_filament_width_sensor.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |