diff options
author | Teemu Ikonen <tpikonen@mailbox.org> | 2023-11-30 22:41:43 +0200 |
---|---|---|
committer | Teemu Ikonen <tpikonen@mailbox.org> | 2023-12-25 22:54:32 +0200 |
commit | 82a1702212368a8a0d538828a6090ad81be8d772 (patch) | |
tree | 9a26440c3811d7cfcfb0b0a71e17be9b4805cd3f | |
parent | 8fd18c9363f1bbcb200e9cc142a91ebe6c2ccc8d (diff) |
location: RMC sentences before NMEA v2.3 had only 11 parts, accept them
-rw-r--r-- | src/gclue-location.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gclue-location.c b/src/gclue-location.c index b9e65aa..da2a10a 100644 --- a/src/gclue-location.c +++ b/src/gclue-location.c @@ -651,7 +651,7 @@ gclue_location_create_from_rmc (const char *rmc, gdouble altitude; parts = g_strsplit (rmc, ",", -1); - if (g_strv_length (parts) < 13) { + if (g_strv_length (parts) < 12) { g_warning ("Invalid NMEA RMC sentence."); return NULL; } |