Index: firmware/App/Drivers/Battery.c =================================================================== diff -u -rbe80e2ef0d8f01580e047be35b485e65dcbcbdd7 -r5ca11d82e660ba31b6821420eb9098e036e6d93c --- firmware/App/Drivers/Battery.c (.../Battery.c) (revision be80e2ef0d8f01580e047be35b485e65dcbcbdd7) +++ firmware/App/Drivers/Battery.c (.../Battery.c) (revision 5ca11d82e660ba31b6821420eb9098e036e6d93c) @@ -222,27 +222,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