fix(X9lite): Chan. monitor, other display glitches (#3452)

It seems the display used on these TX doesn't
like too many horizontal lines.
This commit is contained in:
Peter Feerick
2023-04-13 14:40:57 +10:00
committed by GitHub
parent 40ef11d7a4
commit 5a18647cd4
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ void menuModelFailsafe(event_t event)
}
// Gauge
#if !defined(PCBX7) // X7 LCD doesn't like too many horizontal lines
#if !(defined(PCBX7) || defined(PCBX9LITE) || defined(PCBX9LITES)) // X7/X9 LCD doesn't like too many horizontal lines
lcdDrawRect(x+LCD_W-3-wbar, y, wbar+1, 6);
#endif
const uint8_t lenChannel = limit<uint8_t>(1, (abs(channelValue) * wbar/2 + lim/2) / lim, wbar/2);