Final Code

Fork of MBed_Adafruit-GPS-Library by Myron Lee

Files at this revision

API Documentation at this revision

Comitter:
DeWayneDennis
Date:
Sat Dec 19 21:47:39 2015 +0000
Parent:
0:a23e3099bb0a
Commit message:
Final Code

Changed in this revision

MBed_Adafruit_GPS.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r a23e3099bb0a -r f6a84ae4c66f MBed_Adafruit_GPS.cpp
--- a/MBed_Adafruit_GPS.cpp	Sat Mar 22 05:00:47 2014 +0000
+++ b/MBed_Adafruit_GPS.cpp	Sat Dec 19 21:47:39 2015 +0000
@@ -110,7 +110,6 @@
     milliseconds = fmod((double) timef, 1.0) * 1000;
 
     p = strchr(p, ',')+1;
-    // Serial.println(p);
     if (p[0] == 'A') 
       fix = true;
     else if (p[0] == 'V')
@@ -161,14 +160,10 @@
 
 char Adafruit_GPS::read(void) {
   char c = 0;
-  
   if (paused) return c;
-
     if(!gpsSerial->readable()) return c;
     c = gpsSerial->getc();
 
-  //Serial.print(c);
-
   if (c == '$') {
     currentline[lineidx] = 0;
     lineidx = 0;