u8g2 wrapper: allow larger font when size >= 2

This commit is contained in:
taco
2026-05-10 18:50:02 +10:00
parent 2462cf6c97
commit 5058415fa3
+1 -1
View File
@@ -29,7 +29,7 @@ class U8g2Display : public DisplayDriver {
void applyFont(int sz) {
if (sz >= 2) {
_u8g2.setFont(u8g2_font_5x7_mr); // 5×7 — "large" for this display
_u8g2.setFont(u8g2_font_6x10_mr); // slightly larger font for better readability. TODO: more font sizes?
} else {
_u8g2.setFont(u8g2_font_5x7_mr);
}