This commit is contained in:
Bertrand Songis
2019-04-17 00:06:09 +02:00
parent aab66d0a4e
commit 51f8acee1b
2 changed files with 7 additions and 37 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ void menuModelTelemetryFrsky(event_t event)
LcdFlags attr = (sub == k ? blink : 0);
if (k >= ITEM_TELEMETRY_SENSOR_FIRST && k < ITEM_TELEMETRY_SENSOR_FIRST + MAX_TELEMETRY_SENSORS) {
if (k >= ITEM_TELEMETRY_SENSOR_FIRST && k <= ITEM_TELEMETRY_SENSOR_LAST) {
int index = k - ITEM_TELEMETRY_SENSOR_FIRST;
lcdDrawNumber(INDENT_WIDTH, y, index+1, LEFT|attr);
lcdDrawChar(lcdLastRightPos, y, ':', attr);