From 8429bb473023fda6dbbf6512ac6a283565261309 Mon Sep 17 00:00:00 2001 From: richonguzman Date: Tue, 14 May 2024 01:14:02 -0400 Subject: [PATCH] 25SegBuffer fix --- src/station_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/station_utils.cpp b/src/station_utils.cpp index ecb7e2c..117d349 100644 --- a/src/station_utils.cpp +++ b/src/station_utils.cpp @@ -81,7 +81,7 @@ namespace STATION_Utils { for (int i = 0; i < packet25SegBuffer.size(); i++) { String temp = packet25SegBuffer[i].substring(packet25SegBuffer[i].indexOf(",") + 1); String bufferStation = temp.substring(0, temp.indexOf(",")); - String bufferMessage = temp.substring(0, temp.indexOf(",") + 1); + String bufferMessage = temp.substring(temp.indexOf(",") + 1); if (bufferStation == station && bufferMessage == textMessage) { shouldBeIgnored = true; }