diff --git a/firmware/pump_dac.cpp b/firmware/pump_dac.cpp index 10262c0..7d3cb87 100644 --- a/firmware/pump_dac.cpp +++ b/firmware/pump_dac.cpp @@ -75,7 +75,7 @@ void SetPumpCurrentTarget(int ch, int32_t microampere) float GetPumpOutputDuty(int ch) { - return pumpDac.GetLastDuty(ch); + return pumpDac.GetLastDuty(pumpDacPwmCh[ch]); } float GetPumpCurrent(int ch)