VSC whitespace changes - sorry!
This commit is contained in:
@@ -15980,11 +15980,11 @@ uint8_t SFE_UBLOX_GNSS::getNavigationFrequency(uint16_t maxWait)
|
||||
|
||||
if (measurementRate == 0)
|
||||
{
|
||||
#ifndef SFE_UBLOX_REDUCED_PROG_MEM
|
||||
#ifndef SFE_UBLOX_REDUCED_PROG_MEM
|
||||
if ((_printDebug == true) || (_printLimitedDebug == true)) // This is important. Print this if doing limited debugging
|
||||
_debugSerial->println(F("getNavigationFrequency: zero measRate!"));
|
||||
#endif
|
||||
return(0); // Avoid divide-by-zero error
|
||||
#endif
|
||||
return (0); // Avoid divide-by-zero error
|
||||
}
|
||||
|
||||
measurementRate = 1000 / measurementRate; // This may return an int when it's a float, but I'd rather not return 4 bytes
|
||||
|
||||
Reference in New Issue
Block a user