diff --git a/src/device/boot.rs b/src/device/boot.rs index 9be22ec..c5f7c2e 100644 --- a/src/device/boot.rs +++ b/src/device/boot.rs @@ -63,7 +63,6 @@ pub fn bootup( let tec_driver = MAX1968::new(max1968_phy, perif.ADC1, perif.ADC2, perif.DMA2); let mut thermostat = Thermostat::new(tec_driver, ad7172_phy); thermostat.setup(); - thermostat.power_up(); thermostat.calibrate_dac_value(); thermostat.set_i(ElectricCurrent::new::(0.0)); @@ -75,7 +74,6 @@ pub fn bootup( laser.ld_set_i(ElectricCurrent::new::(0.0)); laser.set_pd_i_limit(ElectricCurrent::new::(2.5)); laser.set_pd_mon_calibrated_vdda(thermostat.get_calibrated_vdda()); - laser.power_up(); debug!("Setting up Internal Flash Driver"); let flash_store = flash_store::store(perif.FLASH);