Files
firmware/src
Tom Fifield 3040e5a7bb Fix GPS that hard code 2080 as the start time. (#7803)
* Fix GPS that hard code 2080 as the start time.

Some GPS chips, such as the AG3335 in T1000e and L96 have a hardcoded
time of 2080-01-05 when they start up.

To fix that in a way that seems permanent, let's ignore times that
are more than 40 years since the firmware was built. We should followup
in late 2039 to see if any changes are needed.

Reported-By: @b8b8

* Update src/gps/RTC.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Put FORTY_YEARS in header and use in both places.

* Restore Ben's nicer log lines.

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-02 06:41:26 -05:00
..
2025-08-26 09:35:25 -05:00
2025-08-27 06:50:53 -05:00
2025-08-29 12:09:22 -05:00
2025-08-27 06:02:54 -05:00
2025-07-02 20:50:49 -05:00
2024-11-04 06:09:23 -06:00
2024-11-04 06:09:23 -06:00
2024-08-06 12:35:54 -05:00
2024-08-06 12:35:54 -05:00
2025-08-26 09:35:25 -05:00
2025-08-27 06:02:54 -05:00
2024-08-06 12:35:54 -05:00
2025-03-16 08:19:46 -05:00
2025-08-27 06:02:54 -05:00
2025-03-01 06:18:33 -06:00
2025-03-01 06:18:33 -06:00