Index: firmware/App/Services/AlarmMgmt.c =================================================================== diff -u -r0295b0641d2f7eb2f61bf1d7901134cf9b893afb -r34e43586567b8b43f713d28f1ce36fe781710649 --- firmware/App/Services/AlarmMgmt.c (.../AlarmMgmt.c) (revision 0295b0641d2f7eb2f61bf1d7901134cf9b893afb) +++ firmware/App/Services/AlarmMgmt.c (.../AlarmMgmt.c) (revision 34e43586567b8b43f713d28f1ce36fe781710649) @@ -488,6 +488,22 @@ return result; } +/*********************************************************************//** + * @brief + * The isAlarmRecoverable function determines whether a given alarm is + * recoverable. + * @details Inputs: alarmTable[] + * @details Outputs: none + * @param alarm ID of alarm to check + * @return TRUE if given alarm is recoverable, FALSE if not + *************************************************************************/ +BOOL isAlarmRecoverable( ALARM_ID_T alarm ) +{ + BOOL result = ( TRUE == alarmTable[ alarm ].alarmNoClear ? FALSE : TRUE ); + + return result; +} + /*********************************************************************//** * @brief * The getAlarmStartTime function gets the active state of a given alarm.