kopia lustrzana https://gitlab.com/eliggett/wfview
Added collision detection for serial commands. Collisions are aparently
frequent for true 1-wire CI-V radios.merge-requests/5/head
rodzic
9fcf959cb6
commit
43d281cda7
|
@ -117,6 +117,12 @@ void commHandler::receiveDataIn()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(inPortData.contains("\xFC"))
|
||||||
|
{
|
||||||
|
//qInfo(logSerial()) << "Transaction contains collision data. Dumping.";
|
||||||
|
port->commitTransaction();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if(inPortData.startsWith("\xFE\xFE"))
|
if(inPortData.startsWith("\xFE\xFE"))
|
||||||
{
|
{
|
||||||
|
|
Ładowanie…
Reference in New Issue