GPS code for Adafruit ultimate GPS

Dependents:   demo_gps_sdcard zeus

Fork of GPS by Simon Ford

Revision:
2:509abe8eda59
Parent:
1:35fcaa2209af
--- 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")) {