Standard methods to wait for heating (#11949)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2018-09-29 01:44:47 -05:00
1 parent bdc9889d3a
commit e4389f7d23
7 files changed
+265 -232

No files matched your search

+1 -6
View File
@@ -109,12 +109,7 @@ static bool ensure_safe_temperature(const AdvancedPauseMode mode=ADVANCED_PAUSE_
UNUSED(mode);
#endif
wait_for_heatup = true; // M108 will clear this
while (wait_for_heatup && thermalManager.wait_for_heating(active_extruder)) idle();
const bool status = wait_for_heatup;
wait_for_heatup = false;
return status;
return thermalManager.wait_for_hotend(active_extruder);
}
static void do_pause_e_move(const float &length, const float &fr) {