Index: firmware/App/Services/SystemCommMessages.c =================================================================== diff -u -rfba3daf7d2ab628bf90da7504b38d0b03f9e0bd9 -r4e4ab946c0bc4b668cf5b197c7f841355814ccf5 --- firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision fba3daf7d2ab628bf90da7504b38d0b03f9e0bd9) +++ firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision 4e4ab946c0bc4b668cf5b197c7f841355814ccf5) @@ -1999,35 +1999,6 @@ } -#ifdef EMC_TEST_BUILD -/*********************************************************************//** - * @brief - * The broadcastCANErrorCount function handles the CAN error count - * @details Inputs: none - * @details Outputs: message handled - * @param message a pointer to the message to handle - * @return none - *************************************************************************/ -BOOL broadcastCANErrorCount( U32 count ) -{ - BOOL result; - MESSAGE_T msg; - U08 *payloadPtr = msg.payload; - - // Create a message record - blankMessage( &msg ); - msg.hdr.msgID = MSG_ID_CAN_ERROR_COUNT; - msg.hdr.payloadLen = sizeof( U32 ); - - memcpy( payloadPtr, &count, sizeof( U32 ) ); - - // Serialize the message (w/ sync, CRC, and appropriate CAN padding) and add serialized message data to appropriate comm buffer - result = serializeMessage( msg, COMM_BUFFER_OUT_CAN_HD_BROADCAST, ACK_NOT_REQUIRED ); - - return result; -} -#endif - // *********************************************************************** // **************** Message Handling Helper Functions ******************** // ***********************************************************************