Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit b22e812

Browse files
committed
Added an extra debug print in setNavigationFrequency
1 parent 8e037a5 commit b22e812

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/SparkFun_Ublox_Arduino_Library.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2112,6 +2112,12 @@ boolean SFE_UBLOX_GPS::setNavigationFrequency(uint8_t navFreq, uint16_t maxWait)
21122112
if (sendCommand(packetCfg, maxWait) != SFE_UBLOX_STATUS_DATA_RECEIVED) // We are expecting data and an ACK
21132113
return (false); //If command send fails then bail
21142114

2115+
if (_printDebug == true)
2116+
{
2117+
_debugSerial->print(F("setNavigationFrequency packetCfg.len is "));
2118+
_debugSerial->println(packetCfg.len);
2119+
}
2120+
21152121
uint16_t measurementRate = 1000 / navFreq;
21162122

21172123
//payloadCfg is now loaded with current bytes. Change only the ones we need to

0 commit comments

Comments
 (0)