Index: firmware/App/Services/SystemCommMessages.c =================================================================== diff -u -r2e6c750c202b7361d79488ce383e34f380e75413 -r169b72cc9c959b53b40b48e9ce0a5f4aeca1de97 --- firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision 2e6c750c202b7361d79488ce383e34f380e75413) +++ firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision 169b72cc9c959b53b40b48e9ce0a5f4aeca1de97) @@ -128,7 +128,6 @@ data[ msgSize++ ] = MESSAGE_SYNC_BYTE; // set sequence # and ACK bit (unless this is an ACK to a received message) -#ifndef ACK_NOT_IMPLEMENTED if ( msg.hdr.msgID != MSG_ID_ACK ) { // thread protect next sequence # access & increment @@ -141,7 +140,6 @@ msg.hdr.seqNo *= -1; } } -#endif // calculate message CRC crc = crc8( (U08*)(&msg), sizeof( MESSAGE_HEADER_T ) + msg.hdr.payloadLen ); @@ -165,7 +163,6 @@ data[ msgSize++ ] = 0; } -#ifndef ACK_NOT_IMPLEMENTED // if ACK required, add to pending ACK list if ( TRUE == ackReq ) { @@ -175,7 +172,6 @@ SET_ALARM_WITH_1_U32_DATA( ALARM_ID_SOFTWARE_FAULT, SW_FAULT_ID_MSG_PENDING_ACK_LIST_FULL ) } } -#endif if ( FALSE == error ) { @@ -186,7 +182,6 @@ return result; } -#ifndef ACK_NOT_IMPLEMENTED /************************************************************************* * @brief sendACKMsg * The sendACKMsg function constructs and queues for transmit an ACK message \n @@ -216,7 +211,6 @@ return result; } -#endif // *********************************************************************** // ********************* MSG_ID_OFF_BUTTON_PRESS *************************