From 27c7b5929e46ea8bc6b24a2875734ad8616177c1 Mon Sep 17 00:00:00 2001 From: linuswck Date: Tue, 9 Jan 2024 16:58:17 +0800 Subject: [PATCH] thermostat: change setup seq - default power off - with all params set to default val on hw - rm calibration from setup --- src/thermostat/thermostat.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/thermostat/thermostat.rs b/src/thermostat/thermostat.rs index b4488fe..f1dea0a 100644 --- a/src/thermostat/thermostat.rs +++ b/src/thermostat/thermostat.rs @@ -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);