Add more support for small fonts in screen resolution determination (#10480)

This commit is contained in:
Ben Meadors
2026-05-15 05:59:15 -05:00
committed by GitHub
co-authored by GitHub
parent fce419b335
commit 1c05633fcd
+6
View File
@@ -27,6 +27,12 @@ ScreenResolution determineScreenResolution(int16_t screenheight, int16_t screenw
return ScreenResolution::UltraLow;
}
#ifdef DISPLAY_FORCE_SMALL_FONTS
if (screenwidth <= 160 && screenheight <= 80) {
return ScreenResolution::Low;
}
#endif
// Standard OLED screens
if (screenwidth > 128 && screenheight <= 64) {
return ScreenResolution::Low;