1
0
Fork 0

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
1 changed files with 0 additions and 1 deletions

View File

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