From afb7628983bce232708a7e41ff4ccb91963d1b7f Mon Sep 17 00:00:00 2001 From: "Ben V. Brown" Date: Sun, 11 Dec 2022 13:52:43 +1100 Subject: [PATCH] FIXUP! Bugfix auto fontstyle --- source/Core/Drivers/OLED.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/Core/Drivers/OLED.cpp b/source/Core/Drivers/OLED.cpp index 026f5f12..d9e740b2 100644 --- a/source/Core/Drivers/OLED.cpp +++ b/source/Core/Drivers/OLED.cpp @@ -385,6 +385,7 @@ void OLED::print(const char *const str, FontStyle fontStyle) { const uint8_t *next = reinterpret_cast(str); if (next[0] == 0x01) { fontStyle = FontStyle::LARGE; + next++; } while (next[0]) { uint16_t index;