forked from M-Labs/kirdy
ld_drive: rebase to the point that declare set_i
This commit is contained in:
parent
277796d2a4
commit
d4e074cbd4
@ -107,7 +107,6 @@ impl CurrentSource {
|
||||
}
|
||||
|
||||
pub fn set_i(&mut self, current: ElectricCurrent, transimpedance: transimpedance_unit, dac_out_v_max: ElectricPotential) -> ElectricCurrent {
|
||||
let v = current * transimpedance;
|
||||
self.set_dac(current * transimpedance, dac_out_v_max) / transimpedance
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user