Standard methods to wait for heating (#11949)
This commit is contained in:
1 parent
bdc9889d3a
commit
e4389f7d23
7 files changed
+265
-232
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user