Sometimes a TPV packet will contain a valid location, but not a valid time. Previous code was only examining the lowest error packet out of a group of validated packets and this one may not contain a valid time.
This change searches through all validated packets for one with a time value. This should make the PiFinder recognized a GPS lock sooner after the hardware is actually locked.
Sometimes a TPV packet will contain a valid location, but not a valid time. Previous code was only examining the lowest error packet out of a group of validated packets and this one may not contain a valid time.
This change searches through all validated packets for one with a time value. This should make the PiFinder recognized a GPS lock sooner after the hardware is actually locked.