|
@@ -2435,10 +2435,8 @@ void Temperature::isr() {
|
2435
|
2435
|
#define TEMP_CONDITIONS (wants_to_cool ? isCoolingHotend(target_extruder) : isHeatingHotend(target_extruder))
|
2436
|
2436
|
#endif
|
2437
|
2437
|
|
2438
|
|
- #if DISABLED(BUSY_WHILE_HEATING)
|
2439
|
|
- #if ENABLED(HOST_KEEPALIVE_FEATURE)
|
2440
|
|
- const MarlinBusyState old_busy_state = gcode.busy_state;
|
2441
|
|
- #endif
|
|
2438
|
+ #if DISABLED(BUSY_WHILE_HEATING) && ENABLED(HOST_KEEPALIVE_FEATURE)
|
|
2439
|
+ const GcodeSuite::MarlinBusyState old_busy_state = gcode.busy_state;
|
2442
|
2440
|
KEEPALIVE_STATE(NOT_BUSY);
|
2443
|
2441
|
#endif
|
2444
|
2442
|
|
|
@@ -2564,10 +2562,8 @@ void Temperature::isr() {
|
2564
|
2562
|
wait_for_heatup = true;
|
2565
|
2563
|
millis_t now, next_temp_ms = 0, next_cool_check_ms = 0;
|
2566
|
2564
|
|
2567
|
|
- #if DISABLED(BUSY_WHILE_HEATING)
|
2568
|
|
- #if ENABLED(HOST_KEEPALIVE_FEATURE)
|
2569
|
|
- const MarlinBusyState old_busy_state = gcode.busy_state;
|
2570
|
|
- #endif
|
|
2565
|
+ #if DISABLED(BUSY_WHILE_HEATING) && ENABLED(HOST_KEEPALIVE_FEATURE)
|
|
2566
|
+ const GcodeSuite::MarlinBusyState old_busy_state = gcode.busy_state;
|
2571
|
2567
|
KEEPALIVE_STATE(NOT_BUSY);
|
2572
|
2568
|
#endif
|
2573
|
2569
|
|