Index: firmware/App/Services/AlarmMgmt.c =================================================================== diff -u -rbc29cfd7dc00191e3f5e26c29f7e21bef178d815 -ra26a94535a8931d2a86487c48d55e4549934bfe8 --- firmware/App/Services/AlarmMgmt.c (.../AlarmMgmt.c) (revision bc29cfd7dc00191e3f5e26c29f7e21bef178d815) +++ firmware/App/Services/AlarmMgmt.c (.../AlarmMgmt.c) (revision a26a94535a8931d2a86487c48d55e4549934bfe8) @@ -292,36 +292,6 @@ /*********************************************************************//** * @brief - * The checkPersistentAlarm function triggers/clears an alarm if an alarm condition - * has persisted/cleared over given time limit. - * @details Inputs: none - * @details Outputs: checks whether an alarm is triggered or an alarm condition is cleared - * @param alarmID ID of alarm to check - * @param isErrorOccured Flag indicates alarm condition is active or not - * @param data alarm data - * @param limit alarm condition limit - * @return TRUE if given alarm is active, FALSE if not - *************************************************************************/ -BOOL checkPersistentAlarm( ALARM_ID_T alarm, BOOL const isErrorOccured, F32 const data, F32 const limit ) -{ - BOOL status = FALSE; - - if ( TRUE == isPersistentAlarmTriggered( alarm, isErrorOccured ) ) - { - SET_ALARM_WITH_2_F32_DATA( alarm, data, limit ); - } - - if ( TRUE == isPersistentAlarmConditionCleared( alarm, isErrorOccured ) ) - { - clearAlarmCondition( alarm ); - status = TRUE; - } - - return status; -} - -/*********************************************************************//** - * @brief * The handleResendActiveAlarmsRequest function processes the request to re-send * all active alarms. * @details Inputs: alarmIsActive[]