change to uint32 array from uint64 for compat with matlab bus define

This commit is contained in:
Matthew GONG
2020-03-15 14:52:29 +08:00
parent 17d3462b14
commit 1465895353
+1 -1
View File
@@ -118,7 +118,7 @@ typedef struct __mavlink_message {
uint8_t sysid; /*< ID of message sender system/aircraft */ uint8_t sysid; /*< ID of message sender system/aircraft */
uint8_t compid; /*< ID of the message sender component */ uint8_t compid; /*< ID of the message sender component */
uint32_t msgid:24; /*< ID of message in payload */ uint32_t msgid:24; /*< ID of message in payload */
uint64_t payload64[(MAVLINK_MAX_PAYLOAD_LEN+MAVLINK_NUM_CHECKSUM_BYTES+7)/8]; uint32_t payload64[(MAVLINK_MAX_PAYLOAD_LEN+MAVLINK_NUM_CHECKSUM_BYTES+7)/4];
uint8_t ck[2]; /*< incoming checksum bytes */ uint8_t ck[2]; /*< incoming checksum bytes */
uint8_t signature[MAVLINK_SIGNATURE_BLOCK_LEN]; uint8_t signature[MAVLINK_SIGNATURE_BLOCK_LEN];
}) mavlink_message_t; }) mavlink_message_t;