1
0
forked from M-Labs/kirdy

thermostat: do not rst tec_i_out to 0 at pwr down

This commit is contained in:
linuswck 2024-07-22 10:52:23 +08:00
parent b95b9dcefa
commit 8f38acd0f2

View File

@ -219,7 +219,6 @@ impl Thermostat {
pub fn power_down(&mut self) {
self.max1968.power_down();
self.pid_ctrl_ch0.reset_pid_state();
self.set_i(ElectricCurrent::new::<ampere>(0.0));
}
fn set_center_pt(&mut self, value: ElectricPotential) {