Commit abb96a4e authored by Aleksey Kontsevich's avatar Aleksey Kontsevich

-Waddress-of-packed-member build error fix

Also fixed custom build
parent 1f178d2b
......@@ -42,7 +42,7 @@ DEFINES += QGC_ORG_NAME=\"\\\"qgroundcontrol.org\\\"\"
DEFINES += QGC_ORG_DOMAIN=\"\\\"org.qgroundcontrol\\\"\"
QGC_APP_NAME = "Custom QGroundControl"
QGC_BINARY_NAME = "CustomQGroundControl"
QGC_BINARY_NAME = "MyGroundStation"
QGC_ORG_NAME = "Custom"
QGC_ORG_DOMAIN = "org.custom"
QGC_APP_DESCRIPTION = "Custom QGroundControl"
......
......@@ -52,4 +52,5 @@ bool CustomFirmwarePlugin::hasGimbal(Vehicle* /*vehicle*/, bool& rollSupported,
rollSupported = false;
pitchSupported = true;
yawSupported = true;
return true;
}
......@@ -9,6 +9,11 @@
#pragma once
#if __GNUC__ > 8
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Waddress-of-packed-member"
#endif
#include <QElapsedTimer>
#include <QObject>
#include <QVariantList>
......
......@@ -13,6 +13,11 @@
#pragma once
#if __GNUC__ > 8
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Waddress-of-packed-member"
#endif
#include "UASInterface.h"
#include <MAVLinkProtocol.h>
#include <QVector3D>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment