Commit b22d8c5a authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #4372 from DonLakeFlyer/APMCompassNumber

ArduPilot compass cal: Fix compass numbering
parents ad2ba124 128c1be9
......@@ -218,7 +218,7 @@ SetupPage {
spacing: Math.round(ScreenTools.defaultFontPixelHeight / 4)
QGCLabel {
text: "Compass " + index + " " +
text: "Compass " + (index+1) + " " +
(sensorParams.rgCompassPrimary[index] ? "(primary" : "(secondary") +
(sensorParams.rgCompassExternalParamAvailable[index] ?
(sensorParams.rgCompassExternal[index] ? ", external" : ", internal" ) :
......@@ -272,7 +272,7 @@ SetupPage {
visible: sensorParams.rgCompassAvailable[index]
QGCLabel {
text: "Compass " + index + " " +
text: "Compass " + (index+1) + " " +
(sensorParams.rgCompassPrimary[index] ? "(primary" : "(secondary") +
(sensorParams.rgCompassExternalParamAvailable[index] ?
(sensorParams.rgCompassExternal[index] ? ", external" : ", internal" ) :
......
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