Slightly modified version of the SerialGPS library (https://os.mbed.com/teams/components/code/SerialGPS/) to support the BufferedSerial class

Revision:
1:214714f54773
Parent:
0:1a8299deb917
Child:
2:e7f24389167b
--- a/SerialGPS.h	Fri Feb 12 12:39:46 2021 +0100
+++ b/SerialGPS.h	Mon Feb 15 20:32:48 2021 +0100
@@ -29,8 +29,7 @@
 /**
 *  A SerialGPS interface for reading from a serial GPS module 
 */
-class SerialGPS 
-{
+class SerialGPS {
 public:
 
     /** Create the SerialGPS interface, connected to the specified serial port and speed.
@@ -87,7 +86,8 @@
     float trunc(float v);
     void getline();
     
-    BufferedSerial _gps;
+    UnbufferedSerial* _gps_p;
+    UnbufferedSerial& _gps;
 };
 
 #endif
\ No newline at end of file