From 3cfc42e54ab097b2634cdf70cce8f9f6dc8f7572 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 29 Mar 2021 15:49:20 -0400 Subject: [PATCH] bltouch: Minor indentation change Signed-off-by: Kevin O'Connor --- klippy/extras/bltouch.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/klippy/extras/bltouch.py b/klippy/extras/bltouch.py index 2d0be3d8..6415ce1a 100644 --- a/klippy/extras/bltouch.py +++ b/klippy/extras/bltouch.py @@ -48,9 +48,8 @@ class BLTouchEndstopWrapper: mcu.register_config_callback(self._build_config) self.mcu_endstop = mcu.setup_pin('endstop', pin_params) # output mode - self.output_mode = config.getchoice('set_output_mode', - {'5V': '5V', 'OD': 'OD', - None: None}, None) + omodes = {'5V': '5V', 'OD': 'OD', None: None} + self.output_mode = config.getchoice('set_output_mode', omodes, None) # Setup for sensor test self.next_test_time = 0. self.pin_up_not_triggered = config.getboolean(