Change maxNMEAByteCount to 88. Add set/getMaxNMEAByteCount

This commit is contained in:
PaulZC
2021-06-29 06:40:57 +01:00
parent 81003bf371
commit 28c71ae49c
3 changed files with 27 additions and 3 deletions
@@ -550,6 +550,16 @@ uint8_t SFE_UBLOX_GNSS::getSpiTransactionSize(void)
return (spiTransactionSize);
}
//Sets the size of maxNMEAByteCount
void SFE_UBLOX_GNSS::setMaxNMEAByteCount(int8_t newMax)
{
maxNMEAByteCount = newMax;
}
int8_t SFE_UBLOX_GNSS::getMaxNMEAByteCount(void)
{
return (maxNMEAByteCount);
}
//Returns true if I2C device ack's
boolean SFE_UBLOX_GNSS::isConnected(uint16_t maxWait)
{