Index: firmware/App/Services/SystemCommMessages.c =================================================================== diff -u -r35c07199fda6ba28c7ee417105a16ea3d14a2ad6 -ra53ec9a732b139e0c6650bd14093d8100301357c --- firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision 35c07199fda6ba28c7ee417105a16ea3d14a2ad6) +++ firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision a53ec9a732b139e0c6650bd14093d8100301357c) @@ -3387,13 +3387,12 @@ BOOL result = FALSE; // verify payload length - if ( sizeof( BOOL ) == message->hdr.payloadLen ) + if ( sizeof( TEST_OVERRIDE_PAYLOAD_T ) == message->hdr.payloadLen ) { - - memcpy( &payload.reset, message->payload, sizeof( BOOL ) ); + memcpy( &payload, message->payload, sizeof( TEST_OVERRIDE_PAYLOAD_T ) ); if ( FALSE == payload.reset ) { - result = testSetHDCommunicationStatus(); + result = testSetHDCommunicationStatus(payload.state.u32); } else { @@ -3404,4 +3403,5 @@ // respond to request sendTestAckResponseMsg( (MSG_ID_T)message->hdr.msgID, result ); } + /**@}*/