Bsongis/gui refactoring for x7 d (#3701)
* [X7D] New board added * Cosmetics
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ void varioWakeup()
|
||||
int verticalSpeed = 0;
|
||||
if (g_model.frsky.varioSource) {
|
||||
uint8_t item = g_model.frsky.varioSource-1;
|
||||
if (item < MAX_SENSORS) {
|
||||
if (item < MAX_TELEMETRY_SENSORS) {
|
||||
verticalSpeed = telemetryItems[item].value * g_model.telemetrySensors[item].getPrecMultiplier();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user