aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/buttons.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extras/buttons.py')
-rw-r--r--klippy/extras/buttons.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/klippy/extras/buttons.py b/klippy/extras/buttons.py
index aaf999ae..b73c95ab 100644
--- a/klippy/extras/buttons.py
+++ b/klippy/extras/buttons.py
@@ -49,8 +49,9 @@ class MCU_buttons:
rest_ticks = self.mcu.seconds_to_clock(QUERY_TIME)
self.mcu.add_config_cmd(
"buttons_query oid=%d clock=%d"
- " rest_ticks=%d retransmit_count=%d" % (
- self.oid, clock, rest_ticks, RETRANSMIT_COUNT), is_init=True)
+ " rest_ticks=%d retransmit_count=%d invert=%d" % (
+ self.oid, clock, rest_ticks, RETRANSMIT_COUNT,
+ self.invert), is_init=True)
self.mcu.register_response(self.handle_buttons_state,
"buttons_state", self.oid)
def handle_buttons_state(self, params):