Fix warning

This commit is contained in:
Ben Meadors 2025-06-06 19:49:06 -05:00
parent 673f5d3ede
commit 1858031ad6

View File

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