Fixed buged temperature resume.
This commit is contained in:
parent
f9bedc3c94
commit
d9676eff25
|
|
@ -506,7 +506,9 @@ void MMU2::ResumeHotendTemp() {
|
||||||
ReportErrorHookSensorLineRender();
|
ReportErrorHookSensorLineRender();
|
||||||
waitForHotendTargetTemp(1000, []{
|
waitForHotendTargetTemp(1000, []{
|
||||||
ReportErrorHookDynamicRender();
|
ReportErrorHookDynamicRender();
|
||||||
|
manage_inactivity(true);
|
||||||
});
|
});
|
||||||
|
mmu_print_saved &= ~(SavedState::Cooldown);
|
||||||
LogEchoEvent("Hotend temperature reached");
|
LogEchoEvent("Hotend temperature reached");
|
||||||
lcd_clear();
|
lcd_clear();
|
||||||
lcd_update_enable(true); // temporary hack to stop this locking the printer...
|
lcd_update_enable(true); // temporary hack to stop this locking the printer...
|
||||||
|
|
@ -526,6 +528,7 @@ void MMU2::ResumeUnpark()
|
||||||
current_position[Z_AXIS] = resume_position.xyz[Z_AXIS];
|
current_position[Z_AXIS] = resume_position.xyz[Z_AXIS];
|
||||||
plan_buffer_line_curposXYZE(NOZZLE_PARK_Z_FEEDRATE);
|
plan_buffer_line_curposXYZE(NOZZLE_PARK_Z_FEEDRATE);
|
||||||
st_synchronize();
|
st_synchronize();
|
||||||
|
mmu_print_saved &= ~(SavedState::ParkExtruder);
|
||||||
} else {
|
} else {
|
||||||
LogEchoEvent("NOT resuming XYZ");
|
LogEchoEvent("NOT resuming XYZ");
|
||||||
}
|
}
|
||||||
|
|
@ -637,6 +640,7 @@ StepStatus MMU2::LogicStep() {
|
||||||
StopKeepPowered();
|
StopKeepPowered();
|
||||||
ReportError(ErrorCode::VERSION_MISMATCH);
|
ReportError(ErrorCode::VERSION_MISMATCH);
|
||||||
CheckUserInput();
|
CheckUserInput();
|
||||||
|
break;
|
||||||
case ButtonPushed:
|
case ButtonPushed:
|
||||||
lastButton = logic.Button();
|
lastButton = logic.Button();
|
||||||
LogEchoEvent("MMU Button pushed");
|
LogEchoEvent("MMU Button pushed");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue