Index: firmware/App/Modes/OperationModes.c =================================================================== diff -u -rcf9f459e2b3fed14f46aeeb95bd70af6abec3122 -r1ada95392e4baf6f97158cb23e3c0e85709c07ba --- firmware/App/Modes/OperationModes.c (.../OperationModes.c) (revision cf9f459e2b3fed14f46aeeb95bd70af6abec3122) +++ firmware/App/Modes/OperationModes.c (.../OperationModes.c) (revision 1ada95392e4baf6f97158cb23e3c0e85709c07ba) @@ -7,8 +7,8 @@ * * @file OperationModes.c * -* @author (last) Michael Garthwaite -* @date (last) 18-Sep-2023 +* @author (last) Sean Nash +* @date (last) 30-Sep-2023 * * @author (original) Dara Navaei * @date (original) 05-Nov-2019 @@ -240,8 +240,11 @@ break; } +#ifndef _VECTORCAST_ // Send operation status event when appropriate + // The second part of the OR in this if statement is not reachable in VectorCAST if ( ( priorSubMode != currentSubMode ) || ( priorSubState != currentSubState ) ) +#endif { sendOperationStatusEvent(); SEND_EVENT_WITH_2_U32_DATA( DG_EVENT_SUB_MODE_CHANGE, priorSubMode, currentSubMode ) @@ -481,7 +484,6 @@ * status event. * @details Inputs: currentMode, currentSubMode, currentSubState * @details Outputs: dat1, dat2. - * @param none * @return none *************************************************************************/ static void sendOperationStatusEvent()