|
@@ -6344,8 +6344,23 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
|
6344
|
6344
|
if (max_inactive_time && ms > previous_cmd_ms + max_inactive_time) kill(PSTR(MSG_KILLED));
|
6345
|
6345
|
|
6346
|
6346
|
if (stepper_inactive_time && ms > previous_cmd_ms + stepper_inactive_time
|
6347
|
|
- && !ignore_stepper_queue && !blocks_queued())
|
6348
|
|
- disable_all_steppers();
|
|
6347
|
+ && !ignore_stepper_queue && !blocks_queued()) {
|
|
6348
|
+ #if DISABLE_X == true
|
|
6349
|
+ disable_x();
|
|
6350
|
+ #endif
|
|
6351
|
+ #if DISABLE_Y == true
|
|
6352
|
+ disable_y();
|
|
6353
|
+ #endif
|
|
6354
|
+ #if DISABLE_Z == true
|
|
6355
|
+ disable_z();
|
|
6356
|
+ #endif
|
|
6357
|
+ #if DISABLE_E == true
|
|
6358
|
+ disable_e0();
|
|
6359
|
+ disable_e1();
|
|
6360
|
+ disable_e2();
|
|
6361
|
+ disable_e3();
|
|
6362
|
+ #endif
|
|
6363
|
+ }
|
6349
|
6364
|
|
6350
|
6365
|
#ifdef CHDK // Check if pin should be set to LOW after M240 set it to HIGH
|
6351
|
6366
|
if (chdkActive && ms > chdkHigh + CHDK_DELAY) {
|