diff options
Diffstat (limited to 'klippy/extras/buttons.py')
-rw-r--r-- | klippy/extras/buttons.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/buttons.py b/klippy/extras/buttons.py index 8c5c2bd0..e0d3ee36 100644 --- a/klippy/extras/buttons.py +++ b/klippy/extras/buttons.py @@ -46,7 +46,7 @@ class MCU_buttons: def __init__(self, printer, mcu): self.reactor = printer.get_reactor() self.mcu = mcu - mcu.add_config_object(self) + self.mcu.register_config_callback(self.build_config) self.pin_list = [] self.callbacks = [] self.invert = self.last_button = 0 |