Index: WatchdogMgmt.c =================================================================== diff -u -rad34e60dc683a40b5c47387c2a66017b06f9da31 -r7370a0375ac4cfdcdbd9a5b2d1851bc12a05ab67 --- WatchdogMgmt.c (.../WatchdogMgmt.c) (revision ad34e60dc683a40b5c47387c2a66017b06f9da31) +++ WatchdogMgmt.c (.../WatchdogMgmt.c) (revision 7370a0375ac4cfdcdbd9a5b2d1851bc12a05ab67) @@ -110,6 +110,8 @@ * @details \b Inputs: watchdogTaskCheckedIn[] * @details \b Outputs: watchdogTaskCheckedIn[] * @details \b Alarm: ALARM_ID_XX_WATCHDOG_EXPIRED if safety activated + * @warning: It may be necessary to comment out the alarm activation lines to + * prevent the alarm occurring while debugging. * @return none *************************************************************************/ void execWatchdogMgmt( void ) @@ -143,15 +145,14 @@ #ifdef _DD_ // Check to see if watchdog has expired or safety shutdown feedback does not match s/w command (only after POST completed) if ( ( safetyShutdownSoftwareCmd != safetyShutdownFeedbackSignal ) && ( getCurrentOperationMode() != DD_MODE_INIT ) ) +#endif +#ifdef _RO_ + // Check to see if watchdog has expired or safety shutdown feedback does not match s/w command (only after POST completed) + if ( ( safetyShutdownSoftwareCmd != safetyShutdownFeedbackSignal ) && ( getCurrentOperationMode() != RO_MODE_INIT ) ) #endif { if ( ( PIN_SIGNAL_LOW == safetyShutdownFeedbackSignal ) || ( TRUE == didTimeout( safetyShutdownFeedbackMismatchTS, MAX_SAFETY_SHUTDOWN_MISMATCH_MS ) ) ) { - /* DEBUG WARNING - * It may be necessary to comment out the following - * line to prevent the alarm from occurring while - * debugging. - */ #ifdef _TD_ activateAlarmNoData( ALARM_ID_TD_WATCHDOG_EXPIRED ); #endif