1
0
forked from me/IronOS

FIXUP! Bugfix auto fontstyle

This commit is contained in:
Ben V. Brown
2022-12-11 13:52:43 +11:00
parent c5d1637fec
commit afb7628983

View File

@@ -385,6 +385,7 @@ void OLED::print(const char *const str, FontStyle fontStyle) {
const uint8_t *next = reinterpret_cast<const uint8_t *>(str);
if (next[0] == 0x01) {
fontStyle = FontStyle::LARGE;
next++;
}
while (next[0]) {
uint16_t index;