mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
removing thermal runaway
This commit is contained in:
committed by
Ben V. Brown
parent
c3f6de189c
commit
ba58d95adb
@@ -163,11 +163,11 @@ OperatingMode gui_solderingMode(const ButtonState buttons, guiContext *cxt) {
|
||||
return OperatingMode::Sleeping;
|
||||
}
|
||||
|
||||
if (heaterThermalRunaway) {
|
||||
currentTempTargetDegC = 0; // heater control off
|
||||
heaterThermalRunaway = false;
|
||||
cxt->transitionMode = TransitionAnimation::Right;
|
||||
return OperatingMode::ThermalRunaway;
|
||||
}
|
||||
// if (heaterThermalRunaway) {
|
||||
// currentTempTargetDegC = 0; // heater control off
|
||||
// heaterThermalRunaway = false;
|
||||
// cxt->transitionMode = TransitionAnimation::Right;
|
||||
// return OperatingMode::ThermalRunaway;
|
||||
// }
|
||||
return handleSolderingButtons(buttons, cxt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user