1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/minmea/patches
Benjamin Valentin 1f4b207b66 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
2020-02-13 15:55:33 +01:00
..
0001-add-minmea_getdate.patch pkg/minmea: add minmea_getdate() 2020-02-13 15:55:33 +01:00