File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 5858 */
5959void GcodeSuite::M24 () {
6060 #if ENABLED(HEATER_IDLE_HANDLER) && PAUSE_PARK_NOZZLE_TIMEOUT
61- // Re-enable the heaters if they timed out
62- HOTEND_LOOP () {
63- thermalManager.reset_hotend_idle_timer (e);
64- }
65- HOTEND_LOOP () {
66- thermalManager.wait_for_hotend (e);
67- }
61+ // Re-enable any timed-out heaters
62+ HOTEND_LOOP () thermalManager.reset_hotend_idle_timer (e);
63+ HOTEND_LOOP () thermalManager.wait_for_hotend (e);
6864 #endif
65+
6966 #if ALL(ADVANCED_PAUSE_FANS_PAUSE, HAS_FAN)
7067 thermalManager.set_fans_paused (false );
7168 #endif
@@ -141,6 +138,7 @@ void GcodeSuite::M25() {
141138 #if ALL(ADVANCED_PAUSE_FANS_PAUSE, HAS_FAN)
142139 thermalManager.set_fans_paused (true );
143140 #endif
141+
144142 #if ENABLED(HEATER_IDLE_HANDLER) && PAUSE_PARK_NOZZLE_TIMEOUT
145143 // Start the heater idle timers
146144 const millis_t nozzle_timeout = SEC_TO_MS (PAUSE_PARK_NOZZLE_TIMEOUT);
You can’t perform that action at this time.
0 commit comments