Use wait_for_bed with WAIT_FOR_BED_HEATER

Addressing #12517
2.0.x
Scott Lahteine 6 years ago
parent f1efcfed14
commit caca3c8503

@ -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

@ -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

Loading…
Cancel
Save