JosephHewitt / wardriver_rev3

A portable ESP32-based WiFi/Bluetooth scanner for Wigle.net.
https://wardriver.uk
GNU General Public License v3.0
259 stars 26 forks source link

Sync clock to GNSS source even when there is no location lock #174

Closed JosephHewitt closed 2 months ago

JosephHewitt commented 2 months ago

Date/time from the GNSS module is available significantly earlier than location availability.

This PR removes the check for a location fix before utilizing the date/time information. Instead, simply check if the GNSS date is "accurate looking" (eg, after 2020) in the same way we check NTP/browser time sources.