bltouch: Increase default pin_move_time from 200ms to 675ms

Use the same pin move time that Marlin uses.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-01-31 09:53:21 -05:00
parent cd8678aa6d
commit 345a5f4e1f
2 changed files with 4 additions and 4 deletions

View File

@ -55,9 +55,9 @@
#control_pin: #control_pin:
# Pin connected to the BLTouch control pin. This parameter must be # Pin connected to the BLTouch control pin. This parameter must be
# provided. # provided.
#pin_move_time: 0.200 #pin_move_time: 0.675
# The amount of time (in seconds) that it takes the BLTouch pin to # The amount of time (in seconds) to wait for the BLTouch pin to
# move up or down. The default is 0.200 seconds. # move up or down. The default is 0.675 seconds.
#pin_up_reports_not_triggered: True #pin_up_reports_not_triggered: True
# Set if the BLTouch consistently reports the probe in a "not # Set if the BLTouch consistently reports the probe in a "not
# triggered" state after a successful "pin_up" command. This should # triggered" state after a successful "pin_up" command. This should

View File

@ -47,7 +47,7 @@ class BLTouchEndstopWrapper:
'pin_up_touch_mode_reports_triggered', True) 'pin_up_touch_mode_reports_triggered', True)
self.start_mcu_pos = [] self.start_mcu_pos = []
# Calculate pin move time # Calculate pin move time
pmt = max(config.getfloat('pin_move_time', 0.200), MIN_CMD_TIME) pmt = max(config.getfloat('pin_move_time', 0.675), MIN_CMD_TIME)
self.pin_move_time = math.ceil(pmt / SIGNAL_PERIOD) * SIGNAL_PERIOD self.pin_move_time = math.ceil(pmt / SIGNAL_PERIOD) * SIGNAL_PERIOD
# Wrappers # Wrappers
self.get_mcu = self.mcu_endstop.get_mcu self.get_mcu = self.mcu_endstop.get_mcu