Commit f7afcef8 authored by Lorenz Meier's avatar Lorenz Meier

LinkManager: Do not connect to PX4 boards in bootloader mode automatically. Fixes #1574

parent cb2810c7
......@@ -458,8 +458,8 @@ void LinkManager::_updateConfigurationList(void)
#endif
// Save port name
currentPorts << portInfo.systemLocation();
// Is this a PX4?
if (portInfo.vendorIdentifier() == 9900) {
// Is this a PX4 and NOT in bootloader mode?
if (portInfo.vendorIdentifier() == 9900 && !portInfo.description().contains("BL")) {
SerialConfiguration* pSerial = _findSerialConfiguration(portInfo.systemLocation());
if (pSerial) {
//-- If this port is configured make sure it has the preferred flag set
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment