Adafruit Ultimate GPS Arduino library adapted for mBed use. Original found at https://github.com/adafruit/Adafruit-GPS-Library.
Diff: MBed_Adafruit_GPS.cpp
- Revision:
- 1:ee33cff24740
- Parent:
- 0:a23e3099bb0a
--- a/MBed_Adafruit_GPS.cpp Sat Mar 22 05:00:47 2014 +0000 +++ b/MBed_Adafruit_GPS.cpp Fri Aug 30 16:40:25 2019 +0000 @@ -167,7 +167,7 @@ if(!gpsSerial->readable()) return c; c = gpsSerial->getc(); - //Serial.print(c); + //print(c); if (c == '$') { currentline[lineidx] = 0; @@ -347,4 +347,10 @@ else { return false; // Returns false if not in standby mode, nothing to wakeup } +} + +bool Adafruit_GPS::hasFix(void) +{ + return fix; + } \ No newline at end of file