channels: init i_set at centerpoint

This commit is contained in:
Astro 2020-09-25 22:56:23 +02:00
parent f3ec96f425
commit 61d2cd6ecf

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
}