mirror of https://github.com/Desuuuu/klipper.git
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:
parent
cd8678aa6d
commit
345a5f4e1f
|
@ -55,9 +55,9 @@
|
|||
#control_pin:
|
||||
# Pin connected to the BLTouch control pin. This parameter must be
|
||||
# provided.
|
||||
#pin_move_time: 0.200
|
||||
# The amount of time (in seconds) that it takes the BLTouch pin to
|
||||
# move up or down. The default is 0.200 seconds.
|
||||
#pin_move_time: 0.675
|
||||
# The amount of time (in seconds) to wait for the BLTouch pin to
|
||||
# move up or down. The default is 0.675 seconds.
|
||||
#pin_up_reports_not_triggered: True
|
||||
# Set if the BLTouch consistently reports the probe in a "not
|
||||
# triggered" state after a successful "pin_up" command. This should
|
||||
|
|
|
@ -47,7 +47,7 @@ class BLTouchEndstopWrapper:
|
|||
'pin_up_touch_mode_reports_triggered', True)
|
||||
self.start_mcu_pos = []
|
||||
# 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
|
||||
# Wrappers
|
||||
self.get_mcu = self.mcu_endstop.get_mcu
|
||||
|
|
Loading…
Reference in New Issue