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:
@@ -238,7 +238,7 @@ void menuModelReceiverOptions(event_t event)
|
||||
// Bargraph
|
||||
if (channel <= channelMax) {
|
||||
int32_t channelValue = channelOutputs[channel];
|
||||
#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(RECEIVER_OPTIONS_2ND_COLUMN, y + 2, wbar + 1, 4);
|
||||
#endif
|
||||
auto lenChannel = limit<uint8_t>(1, (abs(channelValue) * wbar / 2 + lim / 2) / lim, wbar / 2);
|
||||
|
||||
Reference in New Issue
Block a user