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>
This commit is contained in:
committed by
GitHub
parent
06d65ef5ac
commit
272e815522
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user