Index: firmware/App/Services/MsgQueues.h =================================================================== diff -u -ref25ad960d479d1237d8b6e844941b6680a8edc0 -r30f049651877229042e3f8700c8596e5b9a1e0f4 --- firmware/App/Services/MsgQueues.h (.../MsgQueues.h) (revision ef25ad960d479d1237d8b6e844941b6680a8edc0) +++ firmware/App/Services/MsgQueues.h (.../MsgQueues.h) (revision 30f049651877229042e3f8700c8596e5b9a1e0f4) @@ -31,7 +31,7 @@ // ********** public definitions ********** -#define MAX_MSG_PAYLOAD_SIZE 250 ///< bytes +#define MAX_MSG_PAYLOAD_SIZE 250 ///< Bytes /// Enumeration of message queues. typedef enum Msg_Queues @@ -45,23 +45,23 @@ /// Record structure for message header. typedef struct { - S16 seqNo; ///< sequence number (and ACK required bit) of message + S16 seqNo; ///< Sequence number (and ACK required bit) of message U16 msgID; ///< ID of message - U08 payloadLen; ///< length of payload in bytes + U08 payloadLen; ///< Length of payload in bytes } MESSAGE_HEADER_T; /// Record structure for a message (header + payload). typedef struct { - MESSAGE_HEADER_T hdr; ///< message header - U08 payload[ MAX_MSG_PAYLOAD_SIZE ]; ///< message payload + MESSAGE_HEADER_T hdr; ///< Message header + U08 payload[ MAX_MSG_PAYLOAD_SIZE ]; ///< Message payload } MESSAGE_T; /// Record structure for a wrapped message (message + CRC). typedef struct { - MESSAGE_T msg; ///< message - U08 crc; ///< message CRC + MESSAGE_T msg; ///< Message + U08 crc; ///< Message CRC } MESSAGE_WRAPPER_T; #pragma pack(pop)