Use wait_for_bed with WAIT_FOR_BED_HEATER

Addressing #12517
This commit is contained in:
Scott Lahteine 2018-11-23 20:39:12 -06:00
parent f1efcfed14
commit caca3c8503
2 changed files with 2 additions and 2 deletions

View File

@ -1120,7 +1120,7 @@ void do_homing_move(const AxisEnum axis, const float distance, const float fr_mm
if (axis == Z_AXIS && distance < 0 && thermalManager.isHeatingBed()) {
serialprintPGM(msg_wait_for_bed_heating);
LCD_MESSAGEPGM(MSG_BED_HEATING);
while (thermalManager.isHeatingBed()) safe_delay(200);
thermalManager.wait_for_bed();
ui.reset_status();
}
#endif

View File

@ -526,7 +526,7 @@ static bool do_probe_move(const float z, const float fr_mm_s) {
if (thermalManager.isHeatingBed()) {
serialprintPGM(msg_wait_for_bed_heating);
LCD_MESSAGEPGM(MSG_BED_HEATING);
while (thermalManager.isHeatingBed()) safe_delay(200);
thermalManager.wait_for_bed();
ui.reset_status();
}
#endif