channels: voltage measurement refalect actual voltage across TEC

This commit is contained in:
topquark12 2021-01-08 15:52:35 +08:00
parent 1539b624bd
commit 3ba2cc9ddc
1 changed files with 1 additions and 1 deletions

View File

@ -438,7 +438,7 @@ impl Channels {
dac_feedback: self.read_dac_feedback(channel),
i_tec,
tec_i,
tec_u_meas: self.read_tec_u_meas(channel),
tec_u_meas: (self.read_tec_u_meas(channel) - ElectricPotential::new::<volt>(1.5)) * 4.0,
pid_output,
}
}