Index: PersistentAlarm.c =================================================================== diff -u -r8dc8551a200e8353a563828ccc8dcb4ad9f47bfb -r818749241853f2f2cfb7dd704ee005a75a7356ba --- PersistentAlarm.c (.../PersistentAlarm.c) (revision 8dc8551a200e8353a563828ccc8dcb4ad9f47bfb) +++ PersistentAlarm.c (.../PersistentAlarm.c) (revision 818749241853f2f2cfb7dd704ee005a75a7356ba) @@ -134,7 +134,7 @@ if ( alarmId < NUM_OF_ALARM_IDS ) { // Update start time when error condition clears for the first time - if ( ( FALSE == isErrorOccurred ) && ( persistentAlarms[ alarmId ].errorClearedStartTime == 0 ) ) + if ( ( FALSE == isErrorOccurred ) && ( 0 == persistentAlarms[ alarmId ].errorClearedStartTime ) ) { persistentAlarms[ alarmId ].errorClearedStartTime = getMSTimerCount(); }