Merge branch 'unify-tft' of https://github.com/meshtastic/firmware into unify-tft

This commit is contained in:
HarukiToreda 2025-06-06 22:06:49 -04:00
commit 8fc0f1aa13

View File

@ -1808,7 +1808,7 @@ void CannedMessageModule::drawFrame(OLEDDisplay *display, OLEDDisplayUiState *st
} else { } else {
// Text: split by words and wrap inside word if needed // Text: split by words and wrap inside word if needed
String text = token.second; String text = token.second;
int pos = 0; uint16_t pos = 0;
while (pos < text.length()) { while (pos < text.length()) {
// Find next space (or end) // Find next space (or end)
int spacePos = text.indexOf(' ', pos); int spacePos = text.indexOf(' ', pos);