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
f7afcef8
Commit
f7afcef8
authored
May 14, 2015
by
Lorenz Meier
Browse files
LinkManager: Do not connect to PX4 boards in bootloader mode automatically. Fixes #1574
parent
cb2810c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/comm/LinkManager.cc
View file @
f7afcef8
...
@@ -458,8 +458,8 @@ void LinkManager::_updateConfigurationList(void)
...
@@ -458,8 +458,8 @@ void LinkManager::_updateConfigurationList(void)
#endif
#endif
// Save port name
// Save port name
currentPorts
<<
portInfo
.
systemLocation
();
currentPorts
<<
portInfo
.
systemLocation
();
// Is this a PX4?
// Is this a PX4
and NOT in bootloader mode
?
if
(
portInfo
.
vendorIdentifier
()
==
9900
)
{
if
(
portInfo
.
vendorIdentifier
()
==
9900
&&
!
portInfo
.
description
().
contains
(
"BL"
)
)
{
SerialConfiguration
*
pSerial
=
_findSerialConfiguration
(
portInfo
.
systemLocation
());
SerialConfiguration
*
pSerial
=
_findSerialConfiguration
(
portInfo
.
systemLocation
());
if
(
pSerial
)
{
if
(
pSerial
)
{
//-- If this port is configured make sure it has the preferred flag set
//-- If this port is configured make sure it has the preferred flag set
...
...
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