mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-07 05:54:05 -06:00
buttons: fixes incorrect parameters
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
This commit is contained in:
parent
825d4baf90
commit
fb91aad583
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ class PrinterButtons:
|
|||
def register_debounce_adc_button(self, pin, min_val, max_val, pullup
|
||||
, callback, config):
|
||||
debounce = DebounceButton(config, callback)
|
||||
return self.register_adc_button(pin, min_val. min_val, max_val, pullup
|
||||
return self.register_adc_button(pin, min_val, max_val, pullup
|
||||
, debounce.button_handler)
|
||||
def register_adc_button_push(self, pin, min_val, max_val, pullup, callback):
|
||||
def helper(eventtime, state, callback=callback):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue