diff --git a/src/channels.rs b/src/channels.rs index 7ad6e28..7f0d502 100644 --- a/src/channels.rs +++ b/src/channels.rs @@ -477,6 +477,7 @@ impl Channels { temperature: state.get_temperature() .map(|temperature| temperature.get::()), pid_engaged: state.pid_engaged, + current_swapped: state.polarity_swapped, i_set, dac_value, dac_feedback: self.adc_read(channel, PinsAdcReadTarget::DacVfb, 1), @@ -575,6 +576,7 @@ pub struct Report { sens: Option, temperature: Option, pid_engaged: bool, + current_swapped: bool, i_set: ElectricCurrent, dac_value: ElectricPotential, dac_feedback: ElectricPotential,