Index: SystemComm.h =================================================================== diff -u -r3402723ffaf9fb1256d51fd23f4273ad7c087836 -rf4b440f1a4e29598b7726826d87a8cfb7885e214 --- SystemComm.h (.../SystemComm.h) (revision 3402723ffaf9fb1256d51fd23f4273ad7c087836) +++ SystemComm.h (.../SystemComm.h) (revision f4b440f1a4e29598b7726826d87a8cfb7885e214) @@ -43,12 +43,9 @@ #define MESSAGE_SYNC_BYTE 0xA5 ///< Denali message syncronization byte. -#define CAN_MESSAGE_PAYLOAD_SIZE 8 ///< CAN frame payload size (in bytes). +#define CAN_FRAME_PAYLOAD_SIZE 8 ///< CAN frame payload size (in bytes). -#define MSG_ACK_BIT 0x8000 ///< ACK bit in sequence number that indicates an ACK is required. -#define MAX_MSG_SEQ_NO 0x7FFF ///< Maximum sequence number for Denali message (then wraps to 1). -#define MIN_MSG_SEQ_NO 0x0001 ///< Minimum sequence number for Denali message. -#define MAX_ACK_MSG_SIZE ( sizeof( MESSAGE_WRAPPER_T ) + 1 + CAN_MESSAGE_PAYLOAD_SIZE ) ///< Maximum size (in bytes) of Denali message including full (wrapped) message + sync + any CAN padding) +#define MAX_ACK_MSG_SIZE ( sizeof( MESSAGE_WRAPPER_T ) + 1 + CAN_FRAME_PAYLOAD_SIZE ) ///< Maximum size (in bytes) of Leahi message including full (wrapped) message + sync + any CAN padding) typedef COMM_BUFFER_T CAN_MESSAGE_BOX_T; ///< The CAN comm buffers align with the active CAN message boxes