idle_timeout: Move timeout handling from toolhead.py to new extras module

Move the "motor_off_timeout" tracking to a new module in the extras/
directory.  This makes it easier to customize the idle timeout
behavior.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2018-07-12 19:07:54 -04:00
parent 0025fbf10d
commit acefe26e0f
7 changed files with 77 additions and 32 deletions

View File

@@ -71,9 +71,11 @@ kinematics: delta
max_velocity: 500
max_accel: 3000
max_z_velocity: 150
motor_off_time: 360
delta_radius: 99.8
[idle_timeout]
timeout: 360
#[delta_calibrate]
#radius: 50
#manual_probe: