diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-01-31 09:53:21 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-02-04 18:02:53 -0500 |
commit | 345a5f4e1fd8192a225c3e07d178e7fc293f4ed9 (patch) | |
tree | 8d6d042d7da193cef05e6f489fcd18a5c53cbe79 | |
parent | cd8678aa6d2b02d7dd35fd74eddd4052afe96ac4 (diff) | |
download | kutter-345a5f4e1fd8192a225c3e07d178e7fc293f4ed9.tar.gz kutter-345a5f4e1fd8192a225c3e07d178e7fc293f4ed9.tar.xz kutter-345a5f4e1fd8192a225c3e07d178e7fc293f4ed9.zip |
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>
-rw-r--r-- | config/example-extras.cfg | 6 | ||||
-rw-r--r-- | klippy/extras/bltouch.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/config/example-extras.cfg b/config/example-extras.cfg index 8cf5649c..5cd56902 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -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 diff --git a/klippy/extras/bltouch.py b/klippy/extras/bltouch.py index e95938e2..f18f7153 100644 --- a/klippy/extras/bltouch.py +++ b/klippy/extras/bltouch.py @@ -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 |