main: Don't change temp ctrl mode at otp
This commit is contained in:
parent
8c8ed12522
commit
fb69ae3306
|
@ -160,7 +160,6 @@ fn main() -> ! {
|
||||||
thermostat.update_pid();
|
thermostat.update_pid();
|
||||||
if thermostat.get_temp_mon_status().over_temp_alarm {
|
if thermostat.get_temp_mon_status().over_temp_alarm {
|
||||||
laser.power_down();
|
laser.power_down();
|
||||||
thermostat.set_pid_engaged(false);
|
|
||||||
thermostat.power_down();
|
thermostat.power_down();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue