From 6e04811b3d16eda2166257c95712e9760b7ccc55 Mon Sep 17 00:00:00 2001 From: 13 Date: Mon, 13 Mar 2023 15:41:22 +0100 Subject: [PATCH] Fixed compiler warning --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index e9dadfc..64fbbb2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -265,7 +265,7 @@ void loop() DynamicJsonDocument doc(1024); // Split the input string into key-value pairs using comma separator - int pos = 0; + uint8_t pos = 0; while (pos < input_str.length()) { int sep_pos = input_str.indexOf(',', pos);