This commit is contained in:
Pawel Spychalski (DzikuVx)
2017-10-22 20:14:28 +02:00
parent 08b16b4cea
commit 0a1b5feecd
3 changed files with 14 additions and 0 deletions

View File

@@ -154,6 +154,7 @@ void qspDecodeIncomingFrame(QspConfiguration_t *qsp, uint8_t incomingByte, int p
//If in IDLE and correct preamble comes, start to decode frame
qsp->protocolState = QSP_STATE_PREAMBLE_RECEIVED;
qsp->crc = 0 ^ incomingByte;
qsp->frameDecodingStartedAt = millis();
}
else if (qsp->protocolState == QSP_STATE_PREAMBLE_RECEIVED)
{