Index: firmware/App/Controllers/DialOutFlow.c =================================================================== diff -u -r11b0015549d4371fa2ad4314c17567712a36a564 -r88868fb5e8f2fcc82f50a952be700863f3cbe19c --- firmware/App/Controllers/DialOutFlow.c (.../DialOutFlow.c) (revision 11b0015549d4371fa2ad4314c17567712a36a564) +++ firmware/App/Controllers/DialOutFlow.c (.../DialOutFlow.c) (revision 88868fb5e8f2fcc82f50a952be700863f3cbe19c) @@ -21,6 +21,7 @@ #include "gio.h" #include "mibspi.h" +#include "Battery.h" #include "DialOutFlow.h" #include "FPGA.h" #include "InternalADC.h" @@ -1134,7 +1135,8 @@ { F32 dopCurr; - if ( ( FALSE == isAlarmActive( ALARM_ID_HD_AC_POWER_LOST ) ) && ( FALSE == isAlarmActive( ALARM_ID_HD_AC_POWER_LOST_IN_TREATMENT ) ) ) + // only check current when we have A/C power + if ( FALSE == isACPowerLost() ) { // DialOut pump should be off if ( DIAL_OUT_PUMP_OFF_STATE == dialOutPumpState )