Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
cb5117f1
Commit
cb5117f1
authored
Sep 06, 2014
by
Lorenz Meier
Browse files
Merge pull request #861 from mavlink/primaryflightdisplayfix
remove wrong Q_UNUSED in primary flight display
parents
51c07f29
66561e9d
Changes
1
Show whitespace changes
Inline
Side-by-side
src/ui/PrimaryFlightDisplay.cc
View file @
cb5117f1
...
@@ -322,7 +322,6 @@ void PrimaryFlightDisplay::updateSpeed(UASInterface* uas, double _groundSpeed, d
...
@@ -322,7 +322,6 @@ void PrimaryFlightDisplay::updateSpeed(UASInterface* uas, double _groundSpeed, d
void
PrimaryFlightDisplay
::
updateAltitude
(
UASInterface
*
uas
,
double
_altitudeAMSL
,
double
_altitudeWGS84
,
double
_altitudeRelative
,
double
_climbRate
,
quint64
timestamp
)
{
void
PrimaryFlightDisplay
::
updateAltitude
(
UASInterface
*
uas
,
double
_altitudeAMSL
,
double
_altitudeWGS84
,
double
_altitudeRelative
,
double
_climbRate
,
quint64
timestamp
)
{
Q_UNUSED
(
uas
);
Q_UNUSED
(
uas
);
Q_UNUSED
(
timestamp
);
Q_UNUSED
(
timestamp
);
Q_UNUSED
(
_altitudeWGS84
)
if
(
fabsf
(
altitudeAMSL
-
_altitudeAMSL
)
>
0.5
f
)
{
if
(
fabsf
(
altitudeAMSL
-
_altitudeAMSL
)
>
0.5
f
)
{
_valuesChanged
=
true
;
_valuesChanged
=
true
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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