Index: SystemComm.c =================================================================== diff -u -r4e16a1c22b73b14cfd62cce4f07a1b9086c55dd7 -rbcc1ad9652142c462704a092ab3ac861ad161477 --- SystemComm.c (.../SystemComm.c) (revision 4e16a1c22b73b14cfd62cce4f07a1b9086c55dd7) +++ SystemComm.c (.../SystemComm.c) (revision bcc1ad9652142c462704a092ab3ac861ad161477) @@ -477,17 +477,33 @@ // Add new message to queue for later processing addToMsgQueue( MSG_Q_IN, &rcvMsg ); #ifdef _TD_ - // If message from DG broadcast channel, update DG comm status + // If message from DD broadcast channel, update DD comm status if ( COMM_BUFFER_IN_CAN_DD_BROADCAST == getInBufferID( i ) ) { checkInFromDD(); } - // If message from UI channel, mark UI communication so HD can begin transmitting + // If message from UI channel, mark UI communication so TD can begin transmitting if ( ( COMM_BUFFER_IN_CAN_UI_2_TD == getInBufferID( i ) ) || ( COMM_BUFFER_IN_CAN_UI_BROADCAST == getInBufferID( i ) ) ) { checkInFromUI(); } #endif +#ifdef _DD_ + // If message from TD broadcast channel, update TD comm status + if ( COMM_BUFFER_IN_CAN_TD_BROADCAST == getInBufferID( i ) ) + { + checkInFromTD(); + } + // If message from RO channel, update RO comm status + if ( COMM_BUFFER_IN_CAN_RO_BROADCAST == getInBufferID( i ) ) + { + checkInFromRO(); + } +#endif +#ifdef _RO_ + // TODO define RO related check in +#endif + } else if ( -1 == msgSize ) // Candidate message with bad CRC found? {