nmea: parse $GPZDA sentences for date/time
authorDaniel Golle <daniel@makrotopia.org>
Mon, 7 Jun 2021 19:50:26 +0000 (21:50 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 7 Jun 2021 22:02:09 +0000 (23:02 +0100)
commit86ee86eef24303e0a9e21b46691b04e5edb2c713
tree7dfb054ec6cd2e2f06c3715c9b16e7fce78a13ec
parent511a5b3c84fa715ef0305cf26c98619c12a4867a
nmea: parse $GPZDA sentences for date/time

Some GPS receivers only send $GPZDA sentence for date/time. Parse it
and refactor NMEA-0138 code to avoid code duplication.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
nmea.c