Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
abb96a4e
Commit
abb96a4e
authored
May 22, 2020
by
Aleksey Kontsevich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-Waddress-of-packed-member build error fix
Also fixed custom build
parent
1f178d2b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
1 deletion
+12
-1
custom.pri
custom-example/custom.pri
+1
-1
CustomFirmwarePlugin.cc
custom-example/src/FirmwarePlugin/CustomFirmwarePlugin.cc
+1
-0
Vehicle.h
src/Vehicle/Vehicle.h
+5
-0
UAS.h
src/uas/UAS.h
+5
-0
No files found.
custom-example/custom.pri
View file @
abb96a4e
...
...
@@ -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"
...
...
custom-example/src/FirmwarePlugin/CustomFirmwarePlugin.cc
View file @
abb96a4e
...
...
@@ -52,4 +52,5 @@ bool CustomFirmwarePlugin::hasGimbal(Vehicle* /*vehicle*/, bool& rollSupported,
rollSupported
=
false
;
pitchSupported
=
true
;
yawSupported
=
true
;
return
true
;
}
src/Vehicle/Vehicle.h
View file @
abb96a4e
...
...
@@ -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>
...
...
src/uas/UAS.h
View file @
abb96a4e
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment