diff --git a/custom-example/custom.pri b/custom-example/custom.pri index 5f68ac774c90eadad1f2c806cb1c683ec2bd9023..f336b25d25f5622893f182709e7628ce427859c9 100644 --- a/custom-example/custom.pri +++ b/custom-example/custom.pri @@ -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" diff --git a/custom-example/src/FirmwarePlugin/CustomFirmwarePlugin.cc b/custom-example/src/FirmwarePlugin/CustomFirmwarePlugin.cc index 6d0a30adc563b7e74476ddab629910c1dbde189c..397e6bea58dee588e5347222d299386eb66f90a7 100644 --- a/custom-example/src/FirmwarePlugin/CustomFirmwarePlugin.cc +++ b/custom-example/src/FirmwarePlugin/CustomFirmwarePlugin.cc @@ -52,4 +52,5 @@ bool CustomFirmwarePlugin::hasGimbal(Vehicle* /*vehicle*/, bool& rollSupported, rollSupported = false; pitchSupported = true; yawSupported = true; + return true; } diff --git a/src/Vehicle/Vehicle.h b/src/Vehicle/Vehicle.h index b86335c35ccf129a98cd990bae7fc7c2ef17d7d8..14ecd4a40f4b80037888286316507769b20bae0b 100644 --- a/src/Vehicle/Vehicle.h +++ b/src/Vehicle/Vehicle.h @@ -9,6 +9,11 @@ #pragma once +#if __GNUC__ > 8 +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Waddress-of-packed-member" +#endif + #include #include #include diff --git a/src/uas/UAS.h b/src/uas/UAS.h index 9a38b6d59e93afc78de343d89bac4c01996c6bd4..331eb4f28fc339e9963d9d19f4e66558a45331d6 100644 --- a/src/uas/UAS.h +++ b/src/uas/UAS.h @@ -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 #include