mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:52:44 +01:00
pkg/minmea: add minmea_getdate()
Add a fucntion to expose the internal `struct tm` that is populated with the GPS date. This allows for easy syncing the RTC with the GPS time without having to convert back and forth between `struct tm` and `time_t`. struct tm now; minmea_getdate(&now, data, time); rtc_set_time(&now) upstream PR: https://github.com/kosma/minmea/pull/45
This commit is contained in:
parent
a055a6c579
commit
1f4b207b66
BIN
pkg/minmea/patches/0001-add-minmea_getdate.patch
Normal file
BIN
pkg/minmea/patches/0001-add-minmea_getdate.patch
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user