Index: firmware/App/Drivers/Battery.c =================================================================== diff -u -rbf44edd28c59df78a75165764b6b654f2e91e556 -r335c721d795f22c6dc4a24f5180dee3ba095a2b2 --- firmware/App/Drivers/Battery.c (.../Battery.c) (revision bf44edd28c59df78a75165764b6b654f2e91e556) +++ firmware/App/Drivers/Battery.c (.../Battery.c) (revision 335c721d795f22c6dc4a24f5180dee3ba095a2b2) @@ -221,27 +221,6 @@ /*********************************************************************//** * @brief - * The isACPowerLost function determines whether A/C power loss has been - * detected. - * @details Inputs: none - * @details Outputs: none - * @return TRUE if A/C power loss condition is in effect, FALSE if not - *************************************************************************/ -BOOL isACPowerLost( void ) -{ - BOOL result = TRUE; - - if ( ( FALSE == isAlarmConditionDetected( ALARM_ID_HD_AC_POWER_LOST ) ) && - ( FALSE == isAlarmConditionDetected( ALARM_ID_HD_AC_POWER_LOST_IN_TREATMENT ) ) ) - { - result = FALSE; - } - - return result; -} - -/*********************************************************************//** - * @brief * The getI2CStatusRegister function returns the I2C status register * @details Inputs: batteryI2CStatusRegister, i2cREG1->STR * @details Outputs: none