ld_drive: add setup fn
This commit is contained in:
parent
b1123047c7
commit
be8bf0a8b6
|
@ -71,6 +71,12 @@ impl LD_Drive{
|
|||
}
|
||||
}
|
||||
|
||||
pub fn setup(&mut self) {
|
||||
self.power_down();
|
||||
self.ld_set_i(ElectricCurrent::new::<milliampere>(0.0));
|
||||
self.ld_short();
|
||||
}
|
||||
|
||||
pub fn power_up(&mut self){
|
||||
self.ctrl.power_up();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue