main: Don't change temp ctrl mode at otp

This commit is contained in:
linuswck 2024-08-06 18:00:15 +08:00
parent 8c8ed12522
commit fb69ae3306
1 changed files with 0 additions and 1 deletions

View File

@ -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();
} }