bltouch: Minor indentation change

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2021-03-29 15:49:20 -04:00
parent 2a9a133f36
commit 3cfc42e54a
1 changed files with 2 additions and 3 deletions

View File

@ -48,9 +48,8 @@ class BLTouchEndstopWrapper:
mcu.register_config_callback(self._build_config) mcu.register_config_callback(self._build_config)
self.mcu_endstop = mcu.setup_pin('endstop', pin_params) self.mcu_endstop = mcu.setup_pin('endstop', pin_params)
# output mode # output mode
self.output_mode = config.getchoice('set_output_mode', omodes = {'5V': '5V', 'OD': 'OD', None: None}
{'5V': '5V', 'OD': 'OD', self.output_mode = config.getchoice('set_output_mode', omodes, None)
None: None}, None)
# Setup for sensor test # Setup for sensor test
self.next_test_time = 0. self.next_test_time = 0.
self.pin_up_not_triggered = config.getboolean( self.pin_up_not_triggered = config.getboolean(