Compilation error when no gauges
This commit is contained in:
@@ -310,7 +310,7 @@ bool displayGaugesTelemetryScreen(FrSkyScreenData & screen)
|
|||||||
else {
|
else {
|
||||||
#if defined(CPUARM)
|
#if defined(CPUARM)
|
||||||
threshold = barsThresholds[source-TELEM_ALT];
|
threshold = barsThresholds[source-TELEM_ALT];
|
||||||
#else
|
#elif defined(GAUGES)
|
||||||
threshold = convertBarTelemValue(source, barsThresholds[source-TELEM_ALT]);
|
threshold = convertBarTelemValue(source, barsThresholds[source-TELEM_ALT]);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user