From 2bc112c7b4bfeed3fa747c7c109452618fb63fba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Tue, 13 Dec 2016 18:54:58 +0100 Subject: [PATCH] Fixed broken latitude handling --- src/nmeaparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nmeaparser.cpp b/src/nmeaparser.cpp index 0792b457..9b88bc56 100644 --- a/src/nmeaparser.cpp +++ b/src/nmeaparser.cpp @@ -313,7 +313,7 @@ bool NMEAParser::readGGA(const char *line, int len) return false; break; case 3: - if (!readNS(vp, lp - vp, lon)) + if (!readNS(vp, lp - vp, lat)) return false; break; case 4: