diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index b06c1099f4..ff34a0acac 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -6344,8 +6344,23 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) { if (max_inactive_time && ms > previous_cmd_ms + max_inactive_time) kill(PSTR(MSG_KILLED)); if (stepper_inactive_time && ms > previous_cmd_ms + stepper_inactive_time - && !ignore_stepper_queue && !blocks_queued()) - disable_all_steppers(); + && !ignore_stepper_queue && !blocks_queued()) { + #if DISABLE_X == true + disable_x(); + #endif + #if DISABLE_Y == true + disable_y(); + #endif + #if DISABLE_Z == true + disable_z(); + #endif + #if DISABLE_E == true + disable_e0(); + disable_e1(); + disable_e2(); + disable_e3(); + #endif + } #ifdef CHDK // Check if pin should be set to LOW after M240 set it to HIGH if (chdkActive && ms > chdkHigh + CHDK_DELAY) {