25SegBuffer fix

This commit is contained in:
richonguzman 2024-05-14 01:14:02 -04:00
parent c940cb99d9
commit 8429bb4730
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}