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

Commit 4f005a2

Browse files
committed
My bad! I forgot to pass down maxWait to getProtocolVersion too!
1 parent 6364ea4 commit 4f005a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparkFun_Ublox_Arduino_Library.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1794,7 +1794,7 @@ boolean SFE_UBLOX_GPS::getGeofenceState(geofenceState &currentGeofenceState, uin
17941794
boolean SFE_UBLOX_GPS::powerSaveMode(bool power_save, uint16_t maxWait)
17951795
{
17961796
// Let's begin by checking the Protocol Version as UBX_CFG_RXM is not supported on the ZED (protocol >= 27)
1797-
uint8_t protVer = getProtocolVersionHigh();
1797+
uint8_t protVer = getProtocolVersionHigh(maxWait);
17981798
/*
17991799
if (_printDebug == true)
18001800
{

0 commit comments

Comments
 (0)