forked from M-Labs/kirdy
boot: Set thermostat & LD init output current to 0
This commit is contained in:
parent
6096711d2c
commit
4132bfacd3
@ -67,7 +67,7 @@ pub fn bootup(
|
||||
thermostat.setup();
|
||||
thermostat.power_up();
|
||||
thermostat.calibrate_dac_value();
|
||||
thermostat.set_i(ElectricCurrent::new::<ampere>(1.0));
|
||||
thermostat.set_i(ElectricCurrent::new::<ampere>(0.0));
|
||||
|
||||
debug!("Setting up Laser Driver");
|
||||
let current_source = LdCtrl::new(current_source_phy);
|
||||
@ -75,7 +75,7 @@ pub fn bootup(
|
||||
laser.setup();
|
||||
laser.ld_open();
|
||||
laser.set_ld_drive_current_limit(ElectricCurrent::new::<ampere>(0.2));
|
||||
laser.ld_set_i(ElectricCurrent::new::<ampere>(0.15));
|
||||
laser.ld_set_i(ElectricCurrent::new::<ampere>(0.0));
|
||||
laser.set_pd_i_limit(ElectricCurrent::new::<milliampere>(2.5));
|
||||
laser.set_pd_mon_calibrated_vdda(thermostat.get_calibrated_vdda());
|
||||
laser.power_up();
|
||||
|
Loading…
Reference in New Issue
Block a user