|
@ -466,9 +466,9 @@ volatile bool Temperature::raw_temps_ready = false; |
|
|
|
|
|
|
|
|
#if ENABLED(SINGLENOZZLE_STANDBY_TEMP) |
|
|
#if ENABLED(SINGLENOZZLE_STANDBY_TEMP) |
|
|
celsius_t Temperature::singlenozzle_temp[EXTRUDERS]; |
|
|
celsius_t Temperature::singlenozzle_temp[EXTRUDERS]; |
|
|
#if HAS_FAN |
|
|
#endif |
|
|
|
|
|
#if ENABLED(SINGLENOZZLE_STANDBY_FAN) |
|
|
uint8_t Temperature::singlenozzle_fan_speed[EXTRUDERS]; |
|
|
uint8_t Temperature::singlenozzle_fan_speed[EXTRUDERS]; |
|
|
#endif |
|
|
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if ENABLED(PROBING_HEATERS_OFF) |
|
|
#if ENABLED(PROBING_HEATERS_OFF) |
|
@ -2500,13 +2500,14 @@ void Temperature::disable_all_heaters() { |
|
|
|
|
|
|
|
|
#endif // PROBING_HEATERS_OFF
|
|
|
#endif // PROBING_HEATERS_OFF
|
|
|
|
|
|
|
|
|
#if ENABLED(SINGLENOZZLE_STANDBY_TEMP) |
|
|
#if EITHER(SINGLENOZZLE_STANDBY_TEMP, SINGLENOZZLE_STANDBY_FAN) |
|
|
|
|
|
|
|
|
void Temperature::singlenozzle_change(const uint8_t old_tool, const uint8_t new_tool) { |
|
|
void Temperature::singlenozzle_change(const uint8_t old_tool, const uint8_t new_tool) { |
|
|
#if HAS_FAN |
|
|
#if ENABLED(SINGLENOZZLE_STANDBY_FAN) |
|
|
singlenozzle_fan_speed[old_tool] = fan_speed[0]; |
|
|
singlenozzle_fan_speed[old_tool] = fan_speed[0]; |
|
|
fan_speed[0] = singlenozzle_fan_speed[new_tool]; |
|
|
fan_speed[0] = singlenozzle_fan_speed[new_tool]; |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
#if ENABLED(SINGLENOZZLE_STANDBY_TEMP) |
|
|
singlenozzle_temp[old_tool] = temp_hotend[0].target; |
|
|
singlenozzle_temp[old_tool] = temp_hotend[0].target; |
|
|
if (singlenozzle_temp[new_tool] && singlenozzle_temp[new_tool] != singlenozzle_temp[old_tool]) { |
|
|
if (singlenozzle_temp[new_tool] && singlenozzle_temp[new_tool] != singlenozzle_temp[old_tool]) { |
|
|
setTargetHotend(singlenozzle_temp[new_tool], 0); |
|
|
setTargetHotend(singlenozzle_temp[new_tool], 0); |
|
@ -2514,6 +2515,7 @@ void Temperature::disable_all_heaters() { |
|
|
TERN_(HAS_STATUS_MESSAGE, set_heating_message(0)); |
|
|
TERN_(HAS_STATUS_MESSAGE, set_heating_message(0)); |
|
|
(void)wait_for_hotend(0, false); // Wait for heating or cooling
|
|
|
(void)wait_for_hotend(0, false); // Wait for heating or cooling
|
|
|
} |
|
|
} |
|
|
|
|
|
#endif |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#endif |
|
|
#endif |
|
|