Compare commits

...

3 Commits

Author SHA1 Message Date
HarukiToreda
ca0e845c52 Replace assert in UTF8 decoder to prevent unexpected reboot 2025-11-29 22:34:45 -05:00
github-actions[bot]
a59723030a Upgrade trunk (#8781)
Co-authored-by: vidplace7 <1779290+vidplace7@users.noreply.github.com>
2025-11-28 05:25:47 -06:00
Jason P
a6cdf2c50b - Correct vertical alignment for Muzi_Base on On Screen Keyboard (#8774) 2025-11-27 07:03:25 -06:00
3 changed files with 6 additions and 3 deletions

View File

@@ -9,8 +9,8 @@ plugins:
lint: lint:
enabled: enabled:
- checkov@3.2.495 - checkov@3.2.495
- renovate@42.24.1 - renovate@42.26.3
- prettier@3.6.2 - prettier@3.7.1
- trufflehog@3.91.1 - trufflehog@3.91.1
- yamllint@1.37.1 - yamllint@1.37.1
- bandit@1.9.2 - bandit@1.9.2

View File

@@ -506,6 +506,9 @@ void VirtualKeyboard::drawKey(OLEDDisplay *display, const VirtualKey &key, bool
centeredTextY -= 1; centeredTextY -= 1;
} }
} }
#ifdef MUZI_BASE // Correct issue with character vertical position on MUZI_BASE
centeredTextY -= 2;
#endif
display->drawString(textX, centeredTextY, keyText.c_str()); display->drawString(textX, centeredTextY, keyText.c_str());
} }

View File

@@ -124,7 +124,7 @@ uint32_t InkHUD::AppletFont::toUtf32(std::string utf8)
utf32 |= (utf8.at(3) & 0b00111111); utf32 |= (utf8.at(3) & 0b00111111);
break; break;
default: default:
assert(false); return 0;
} }
return utf32; return utf32;