Index: firmware/App/Controllers/DialOutFlow.c =================================================================== diff -u -r9907b4602e00e40a84ff55344d61cee50feebc36 -r0772fa437a0f4bcbb58fbad9d6e1f0054efd0e28 --- firmware/App/Controllers/DialOutFlow.c (.../DialOutFlow.c) (revision 9907b4602e00e40a84ff55344d61cee50feebc36) +++ firmware/App/Controllers/DialOutFlow.c (.../DialOutFlow.c) (revision 0772fa437a0f4bcbb58fbad9d6e1f0054efd0e28) @@ -22,7 +22,7 @@ #include "mibspi.h" #include "reg_het.h" -#include "Battery.h" +#include "CPLD.h" #include "DialOutFlow.h" #include "FPGA.h" #include "InternalADC.h" @@ -1199,7 +1199,7 @@ F32 dopCurr; // only check current when we have A/C power - if ( FALSE == isACPowerLost() ) + if ( getCPLDACPowerLossDetected() != TRUE ) { // DialOut pump should be off if ( DIAL_OUT_PUMP_OFF_STATE == dialOutPumpState )