From 3582c95c58185a951ecb1b242bec974d835082df Mon Sep 17 00:00:00 2001 From: Phil Taylor Date: Sun, 12 Feb 2023 23:14:39 +0000 Subject: [PATCH] Fixes to collision detection. --- commhandler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commhandler.cpp b/commhandler.cpp index 1fe8956..698c84e 100644 --- a/commhandler.cpp +++ b/commhandler.cpp @@ -175,6 +175,8 @@ void commHandler::receiveDataIn() if (inPortData.startsWith("\xFC\xFC\xFC\xFC\xFC")) { // Colission detected by remote end, re-send previous command. + qInfo(logSerial()) << "Collision detected by remote, resending previous command"; + port->commitTransaction(); sendDataOut(previousSent); return; }