Fixes to collision detection.

smart-pointers
Phil Taylor 2023-02-12 23:14:39 +00:00
rodzic 3cb54f9cd7
commit 3582c95c58
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

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