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
cdbdcf2b
Commit
cdbdcf2b
authored
Mar 21, 2020
by
Alexey
Browse files
Emit sensorHilChanged signal only if it was really changed
parent
a22c17b4
Changes
1
Show whitespace changes
Inline
Side-by-side
src/comm/QGCJSBSimLink.h
View file @
cdbdcf2b
...
...
@@ -94,10 +94,11 @@ public slots:
}
void
enableSensorHIL
(
bool
enable
)
{
if
(
enable
!=
_sensorHilEnabled
)
if
(
enable
!=
_sensorHilEnabled
)
{
_sensorHilEnabled
=
enable
;
emit
sensorHilChanged
(
enable
);
}
}
void
readBytes
();
...
...
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