Added timestamp in milliseconds to messages
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#define COMMAND_PREFIX 0x69
|
||||
#define COMMAND_ID 0x00
|
||||
#define COMMAND_DATA_SIZE 160
|
||||
#define COMMAND_HEADER_SIZE 5
|
||||
#define COMMAND_HEADER_SIZE 13
|
||||
|
||||
typedef enum {
|
||||
COMMAND_ACK,
|
||||
@@ -32,6 +32,7 @@ struct command_message_t {
|
||||
uint8_t length;
|
||||
uint8_t id;
|
||||
uint8_t command;
|
||||
int64_t tick;
|
||||
uint8_t crc;
|
||||
uint8_t data[COMMAND_DATA_SIZE];
|
||||
} __attribute__((packed));
|
||||
|
||||
Reference in New Issue
Block a user