thermostat: change setup seq

- default power off
- with all params set to default val on hw
- rm calibration from setup
This commit is contained in:
linuswck 2024-01-09 16:58:17 +08:00
parent e48f1979f0
commit 27c7b5929e

View File

@ -100,12 +100,10 @@ impl Thermostat{
}
}
pub fn setup(&mut self) {
self.power_up();
self.power_down();
self.tec_setting = Settings::default();
self.calibrate_dac_value();
self.set_i(self.tec_setting.i_set);
self.set_max_v(self.tec_setting.max_v_set);