Library is based on mlee350's library (MBed_Adafruit-GPS-Library) for Adafruit's GPS module (GlobalTop's MTK3339). Includes two CRITIAL bug fixes, as well as minor updates from Adafruit's Arduino library.

Fork of MBed_Adafruit-GPS-Library by Myron Lee

Revision:
2:d8e1e37eea36
Parent:
1:96d7d157b384
--- a/MBed_Adafruit_GPS.cpp	Sat Jan 13 13:06:46 2018 +0000
+++ b/MBed_Adafruit_GPS.cpp	Sat Jan 13 14:03:41 2018 +0000
@@ -264,7 +264,8 @@
     return 0;
 }
 
-bool Adafruit_GPS::waitForSentence(const char *wait4me, uint8_t max)
+//max = MAXWAITSENTENCE from .h file
+bool Adafruit_GPS::waitForSentence(const char *sentence, uint8_t max)
 {
     char str[20];
 
@@ -277,7 +278,7 @@
             str[19] = 0;
             i++;
 
-            if (strstr(str, wait4me))
+            if (strstr(str, sentence))
                 return true;
         }
     }