diff --git a/src/AutoPilotPlugins/APM/APMSensorsComponent.qml b/src/AutoPilotPlugins/APM/APMSensorsComponent.qml index a0b553f52177fad21df5ce54db446365a8675824..c538a576a9166c8cc8ed33800e9b98bf89c40b45 100644 --- a/src/AutoPilotPlugins/APM/APMSensorsComponent.qml +++ b/src/AutoPilotPlugins/APM/APMSensorsComponent.qml @@ -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" ) :