redefine hasLock() for UBlox GPS

This commit is contained in:
a-f-G-U-C
2021-09-02 13:21:48 +00:00
committed by GitHub
parent 25841c072a
commit 5cf1a87657
2 changed files with 6 additions and 0 deletions

View File

@@ -196,6 +196,11 @@ bool UBloxGPS::lookForLocation()
return foundLocation;
}
bool UBloxGPS::hasLock()
{
return (fixType >= 3 && fixType <= 4);
}
bool UBloxGPS::whileIdle()
{
// if using i2c or serial look too see if any chars are ready