GPS code for Adafruit ultimate GPS

Dependents:   demo_gps_sdcard zeus

Fork of GPS by Simon Ford

Files at this revision

API Documentation at this revision

Comitter:
cmkachur
Date:
Tue Sep 22 23:05:13 2015 +0000
Parent:
1:35fcaa2209af
Commit message:
Add ability to read and store analog input data for the phase detectors. ; Allow use of $GPGGA for GPS fix. ; Code refactoring.

Changed in this revision

GPS.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 35fcaa2209af -r 509abe8eda59 GPS.cpp
--- a/GPS.cpp	Tue Jun 16 12:03:20 2015 +0000
+++ b/GPS.cpp	Tue Sep 22 23:05:13 2015 +0000
@@ -151,6 +151,7 @@
     p = strchr(p, ',')+1;
     p = strchr(p, ',')+1;
     geoidheight = atof(p);
+    fix = true; 
     return true;
   }
   if (strstr(nmea, "$GPRMC")) {