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
e5f4bfe4
Unverified
Commit
e5f4bfe4
authored
Oct 16, 2020
by
qwerty756
Committed by
GitHub
Oct 15, 2020
Browse files
Remove useless codes (#9110)
parent
b87cc26a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/AutoPilotPlugins/Common/RadioComponentController.cc
View file @
e5f4bfe4
...
...
@@ -867,7 +867,7 @@ void RadioComponentController::_loadSettings(void)
_transmitterMode
=
settings
.
value
(
_settingsKeyTransmitterMode
,
2
).
toInt
();
settings
.
endGroup
();
if
(
_transmitterMode
!
=
1
||
_transmitterMode
!
=
2
)
{
if
(
!
(
_transmitterMode
=
=
1
||
_transmitterMode
=
=
2
)
)
{
_transmitterMode
=
2
;
}
}
...
...
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