update macro for mavpack
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#ifndef MAVLINK_VERSION_H
|
||||
#define MAVLINK_VERSION_H
|
||||
|
||||
#define MAVLINK_BUILD_DATE "Tue Sep 12 2017"
|
||||
#define MAVLINK_BUILD_DATE "Wed Oct 04 2017"
|
||||
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
|
||||
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
|
||||
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
#ifndef MAVLINK_VERSION_H
|
||||
#define MAVLINK_VERSION_H
|
||||
|
||||
#define MAVLINK_BUILD_DATE "Tue Sep 12 2017"
|
||||
#define MAVLINK_BUILD_DATE "Wed Oct 04 2017"
|
||||
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
|
||||
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
|
||||
|
||||
|
||||
+1
-2
@@ -17,8 +17,7 @@ namespace mavlink {
|
||||
#define MAVPACKED( __Declaration__ ) __Declaration__ __attribute__((packed))
|
||||
#elif defined __ARMCC_VERSION
|
||||
#pragma anon_unions
|
||||
#pragma pack(push, 1)
|
||||
#define MAVPACKED( __Declaration__ ) __Declaration__
|
||||
#define MAVPACKED( __Declaration__ ) _Pragma("pack(push,1)") __Declaration__ _Pragma("pack(pop)")
|
||||
#else
|
||||
#define MAVPACKED( __Declaration__ ) __pragma( pack(push, 1) ) __Declaration__ __pragma( pack(pop) )
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
#ifndef MAVLINK_VERSION_H
|
||||
#define MAVLINK_VERSION_H
|
||||
|
||||
#define MAVLINK_BUILD_DATE "Tue Sep 12 2017"
|
||||
#define MAVLINK_BUILD_DATE "Wed Oct 04 2017"
|
||||
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
|
||||
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
|
||||
|
||||
|
||||
Reference in New Issue
Block a user