PROBING_HEATERS_OFF sub-option WAIT_FOR_HOTEND (#20835)

This commit is contained in:
Katelyn Schiesser
2021-02-25 06:28:27 -08:00
committed by Scott Lahteine
parent bb1039d4c9
commit 735c1b6183
5 changed files with 26 additions and 1 deletions

View File

@@ -3447,6 +3447,17 @@ void Temperature::tick() {
return false;
}
#if ENABLED(WAIT_FOR_HOTEND)
void Temperature::wait_for_hotend_heating(const uint8_t target_extruder) {
if (isHeatingHotend(target_extruder)) {
SERIAL_ECHOLNPGM("Wait for hotend heating...");
LCD_MESSAGEPGM(MSG_HEATING);
wait_for_hotend(target_extruder);
ui.reset_status();
}
}
#endif
#endif // HAS_TEMP_HOTEND
#if HAS_HEATED_BED