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

Commit 09be350

Browse files
committed
fix another startingSpot issue
1 parent fd347ce commit 09be350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparkFun_Ublox_Arduino_Library.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ void SFE_UBLOX_GPS::processUBX(uint8_t incoming, ubxPacket *incomingUBX)
442442
{
443443
//If a UBX_NAV_PVT packet comes in asynchronously, we need to fudge the startingSpot
444444
uint16_t startingSpot = incomingUBX->startingSpot;
445-
if (autoPVT && incomingUBX->cls == UBX_CLASS_NAV && incomingUBX->id == UBX_NAV_PVT)
445+
if (incomingUBX->cls == UBX_CLASS_NAV && incomingUBX->id == UBX_NAV_PVT)
446446
startingSpot = 20;
447447
//Begin recording if counter goes past startingSpot
448448
if( (incomingUBX->counter - 4) >= startingSpot)

0 commit comments

Comments
 (0)