kopia lustrzana https://gitlab.com/eliggett/wfview
Changed collision detection code so that we can more easily see what
message was missed.merge-requests/5/head
rodzic
43d281cda7
commit
815591f07d
|
@ -117,15 +117,17 @@ void commHandler::receiveDataIn()
|
|||
return;
|
||||
}
|
||||
}
|
||||
if(inPortData.contains("\xFC"))
|
||||
{
|
||||
//qInfo(logSerial()) << "Transaction contains collision data. Dumping.";
|
||||
port->commitTransaction();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if(inPortData.startsWith("\xFE\xFE"))
|
||||
{
|
||||
if(inPortData.contains("\xFC"))
|
||||
{
|
||||
//qInfo(logSerial()) << "Transaction contains collision data. Dumping.";
|
||||
//printHex(inPortData, false, true);
|
||||
port->commitTransaction();
|
||||
return;
|
||||
}
|
||||
if(inPortData.endsWith("\xFD"))
|
||||
{
|
||||
// good!
|
||||
|
|
Ładowanie…
Reference in New Issue