Index: App/Tasks/TaskGeneral.c =================================================================== diff -u -ra87b6b9e253c6c0fcc84bca6f5de71959ce18bcc -r8ba82119080b77f804fa2b3edadd11422f57371b --- App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision a87b6b9e253c6c0fcc84bca6f5de71959ce18bcc) +++ App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision 8ba82119080b77f804fa2b3edadd11422f57371b) @@ -43,6 +43,18 @@ *************************************************************************/ void taskGeneral( void ) { + // check in with watchdog manager + checkInWithWatchdogMgmt( TASK_GENERAL ); // do this first to keep timing consistent with watchdog management + + // manage data received from other sub-systems + execSystemCommRx(); + + // run operation mode state machine + execOperationModes(); + + // control alarm lamp + execAlarmLamp(); + #ifdef RM46_EVAL_BOARD_TARGET if ( getUserButtonState() == PIN_SIGNAL_LOW ) { @@ -59,18 +71,6 @@ } #endif - // check in with watchdog manager - checkInWithWatchdogMgmt( TASK_GENERAL ); // do this first to keep timing consistent with watchdog management - - // manage data received from other sub-systems - execSystemCommRx(); - - // run operation mode state machine - execOperationModes(); - - // control alarm lamp - execAlarmLamp(); - // manage data to be transmitted to other sub-systems execSystemCommTx();