fix(bw): input trim display is incorrect on some radios (#6984)
This commit is contained in:
@@ -192,7 +192,7 @@ void displayExpoLine(coord_t y, ExpoData * ed, LcdFlags attr)
|
|||||||
if (ed->trimSource > 0) {
|
if (ed->trimSource > 0) {
|
||||||
lcdDrawChar(EXPO_LINE_TRIM_POS, y, '-', attr);
|
lcdDrawChar(EXPO_LINE_TRIM_POS, y, '-', attr);
|
||||||
} else {
|
} else {
|
||||||
const char* short_label = getAnalogShortLabel(-ed->trimSource);
|
const char* short_label = getAnalogShortLabel(-ed->trimSource - 1);
|
||||||
lcdDrawChar(EXPO_LINE_TRIM_POS, y, short_label ? short_label[0] : ' ', attr);
|
lcdDrawChar(EXPO_LINE_TRIM_POS, y, short_label ? short_label[0] : ' ', attr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user