[GYRO] Refactor gyro driver for dual-gyro support
[inav.git] / lib / main / MAVLink / common / mavlink.h
blob6644aa5c2f4c28b4535983e6af725be7ce0df7fc
1 /** @file
2 * @brief MAVLink comm protocol built from common.xml
3 * @see http://mavlink.org
4 */
5 #pragma once
6 #ifndef MAVLINK_H
7 #define MAVLINK_H
9 #define MAVLINK_PRIMARY_XML_IDX 1
11 #ifndef MAVLINK_STX
12 #define MAVLINK_STX 254
13 #endif
15 #ifndef MAVLINK_ENDIAN
16 #define MAVLINK_ENDIAN MAVLINK_LITTLE_ENDIAN
17 #endif
19 #ifndef MAVLINK_ALIGNED_FIELDS
20 #define MAVLINK_ALIGNED_FIELDS 1
21 #endif
23 #ifndef MAVLINK_CRC_EXTRA
24 #define MAVLINK_CRC_EXTRA 1
25 #endif
27 #ifndef MAVLINK_COMMAND_24BIT
28 #define MAVLINK_COMMAND_24BIT 0
29 #endif
31 #include "version.h"
32 #include "common.h"
34 #endif // MAVLINK_H