QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
MAVLinkLib.h
Go to the documentation of this file.
1#pragma once
2
4
5// #define MAVLINK_NO_SIGN_PACKET
6// #define MAVLINK_NO_SIGNATURE_CHECK
7#define MAVLINK_USE_MESSAGE_INFO
8
9#include <stddef.h>
10
11// Ignore warnings from mavlink headers for both GCC/Clang and MSVC
12#ifdef __GNUC__
13# if __GNUC__ > 8
14# pragma GCC diagnostic push
15# pragma GCC diagnostic ignored "-Waddress-of-packed-member"
16# else
17# pragma GCC diagnostic push
18# pragma GCC diagnostic ignored "-Wall"
19# endif
20#else
21# pragma warning(push, 0)
22#endif
23
24#include <mavlink.h>
25
26#ifdef __GNUC__
27# pragma GCC diagnostic pop
28#else
29# pragma warning(pop, 0)
30#endif