1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/minmea
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
..
patches pkg/minmea: add minmea_getdate() 2020-02-13 15:55:33 +01:00
doc.txt pkg/minmea: change ingroup directive 2018-10-05 15:34:49 +02:00
Makefile pkg/*: adapt to new state file targets 2020-01-08 20:55:19 +01:00
Makefile.include pkg: minmea: initial import of minmea NMEA GPS parser library 2017-05-20 15:36:42 +02:00
Makefile.minmea pkg: minmea: initial import of minmea NMEA GPS parser library 2017-05-20 15:36:42 +02:00