Index: firmware/App/Services/SystemComm.c =================================================================== diff -u -r439894cb0508e69af3ece09ae57a62feac09e3f2 -r3f3729899d6811c763bc8e5ef9baf54a2d5c9cfe --- firmware/App/Services/SystemComm.c (.../SystemComm.c) (revision 439894cb0508e69af3ece09ae57a62feac09e3f2) +++ firmware/App/Services/SystemComm.c (.../SystemComm.c) (revision 3f3729899d6811c763bc8e5ef9baf54a2d5c9cfe) @@ -89,7 +89,7 @@ COMM_BUFFER_IN_UART_PC #endif }; - + static U08 lastCANPacketSent[ CAN_MESSAGE_PAYLOAD_SIZE ]; static CAN_MESSAGE_BOX_T lastCANPacketSentChannel = (CAN_MESSAGE_BOX_T)0; static U32 lastCANPacketSentTimeStamp = 0; @@ -180,11 +180,7 @@ *************************************************************************/ BOOL isHDCommunicating( void ) { - BOOL result = hdIsCommunicating; - - hdIsCommunicating = FALSE; - - return result; + return hdIsCommunicating; } /*************************************************************************