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
1d376dbf
Commit
1d376dbf
authored
Aug 11, 2015
by
Lorenz Meier
Browse files
FMUv1 bootloader: Fix binary selection to use correct binary, fall back to description if required
parent
bbb356fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/VehicleSetup/PX4FirmwareUpgradeThread.cc
View file @
1d376dbf
...
...
@@ -152,7 +152,7 @@ bool PX4FirmwareUpgradeThreadWorker::_findBoardFromPorts(QSerialPortInfo& portIn
found
=
true
;
}
else
if
(
info
.
productIdentifier
()
==
SerialPortIds
::
pixhawkFMUV1ProductId
)
{
qCDebug
(
FirmwareUpgradeLog
)
<<
"Found PX4 FMU V1"
;
type
=
FoundBoardPX4FMUV
2
;
type
=
FoundBoardPX4FMUV
1
;
found
=
true
;
}
else
if
(
info
.
productIdentifier
()
==
SerialPortIds
::
px4FlowProductId
)
{
qCDebug
(
FirmwareUpgradeLog
)
<<
"Found PX4 Flow"
;
...
...
@@ -179,6 +179,10 @@ bool PX4FirmwareUpgradeThreadWorker::_findBoardFromPorts(QSerialPortInfo& portIn
qCDebug
(
FirmwareUpgradeLog
)
<<
"Found PX4 FMU V2 (by name matching fallback)"
;
type
=
FoundBoardPX4FMUV2
;
found
=
true
;
}
else
if
(
info
.
description
()
==
"PX4 FMU v1.x"
)
{
qCDebug
(
FirmwareUpgradeLog
)
<<
"Found PX4 FMU V1 (by name matching fallback)"
;
type
=
FoundBoardPX4FMUV1
;
found
=
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