forked from M-Labs/kirdy
thermostat: do not rst tec_i_out to 0 at pwr down
This commit is contained in:
parent
b95b9dcefa
commit
8f38acd0f2
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue