kopia lustrzana https://gitlab.com/eliggett/wfview
Fixes to collision detection.
rodzic
3cb54f9cd7
commit
3582c95c58
|
@ -175,6 +175,8 @@ void commHandler::receiveDataIn()
|
||||||
if (inPortData.startsWith("\xFC\xFC\xFC\xFC\xFC"))
|
if (inPortData.startsWith("\xFC\xFC\xFC\xFC\xFC"))
|
||||||
{
|
{
|
||||||
// Colission detected by remote end, re-send previous command.
|
// Colission detected by remote end, re-send previous command.
|
||||||
|
qInfo(logSerial()) << "Collision detected by remote, resending previous command";
|
||||||
|
port->commitTransaction();
|
||||||
sendDataOut(previousSent);
|
sendDataOut(previousSent);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue