From 1858031ad6e1f672c205d183be658cb6c6aa3153 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Fri, 6 Jun 2025 19:49:06 -0500 Subject: [PATCH] Fix warning --- src/modules/CannedMessageModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/CannedMessageModule.cpp b/src/modules/CannedMessageModule.cpp index 85eb8a927..2714353b4 100644 --- a/src/modules/CannedMessageModule.cpp +++ b/src/modules/CannedMessageModule.cpp @@ -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);