Commit 128c1be9 authored by Don Gagne's avatar Don Gagne

Fix compass numbering

parent d663c932
......@@ -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