Add note to future self

This commit is contained in:
PaulZC
2021-06-28 11:41:49 +01:00
parent 402eca64ce
commit da1cfc563e
@@ -838,6 +838,8 @@ boolean SFE_UBLOX_GNSS::checkUbloxSpi(ubxPacket *incomingUBX, uint8_t requestedC
_spiPort->beginTransaction(settingsA);
digitalWrite(_csPin, LOW);
uint8_t byteReturned = _spiPort->transfer(0x0A);
// Note to future self: I think the 0xFF check will cause problems when attempting to process (e.g.) RAWX data
// which could legitimately contain 0xFF within the data stream
while (byteReturned != 0xFF || currentSentence != NONE)
{
process(byteReturned, incomingUBX, requestedClass, requestedID);