mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-07 20:19:25 +00:00
Account for low resolution wide screen OLEDs
This commit is contained in:
parent
a0e14439cb
commit
28ddaa2eb0
@ -16,6 +16,10 @@ void determineResolution(int16_t screenheight, int16_t screenwidth)
|
|||||||
isHighResolution = true;
|
isHighResolution = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (screenwidth > 128 && screenheight <= 64) {
|
||||||
|
isHighResolution = false;
|
||||||
|
}
|
||||||
|
|
||||||
// Special case for Heltec Wireless Tracker v1.1
|
// Special case for Heltec Wireless Tracker v1.1
|
||||||
if (screenwidth == 160 && screenheight == 80) {
|
if (screenwidth == 160 && screenheight == 80) {
|
||||||
isHighResolution = false;
|
isHighResolution = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user