channels: init i_set at centerpoint

pull/20/head
Astro 2020-09-25 22:56:23 +02:00
parent f3ec96f425
commit 61d2cd6ecf
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ impl Channels {
for channel in 0..CHANNELS {
channels.channel_state(channel).vref = channels.read_vref(channel);
channels.calibrate_dac_value(channel);
channels.set_i(channel, ElectricCurrent::new::<ampere>(0.0));
}
channels
}