From 8bba5749638daa47959057c782d33632ad060f58 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Wed, 17 Oct 2018 14:36:15 -0400 Subject: [PATCH] Fixed issue where whitespace broke ACKd messages --- mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index d233917..d15f1c9 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -8418,10 +8418,12 @@ void MainWindow::processBufferedActivity() { int checksumSize = Varicode::isCommandChecksumed(buffer.cmd.cmd); if(checksumSize == 32) { + message = Varicode::lstrip(message); checksum = message.right(6); message = message.left(message.length() - 7); valid = Varicode::checksum32Valid(checksum, message); } else if(checksumSize == 16) { + message = Varicode::lstrip(message); checksum = message.right(3); message = message.left(message.length() - 4); valid = Varicode::checksum16Valid(checksum, message);