* add C027_Support fork
Fork of C027_Support by
Diff: GPS.h
- Revision:
- 76:f7c3dd568dae
- Parent:
- 75:ce6e12067d0c
- Child:
- 93:2b5478693c20
--- a/GPS.h Fri May 16 14:13:00 2014 +0000 +++ b/GPS.h Mon May 19 13:05:41 2014 +0000 @@ -15,10 +15,6 @@ class GPSParser { public: - - //! Constructor - ~GPSParser(void); - /** Power on / Wake up the gps */ virtual bool init(PinName pn) = 0; @@ -184,6 +180,9 @@ int rxSize = 256 , int txSize = 128 ); + //! Destructor + ~GPSSerial(void); + virtual bool init(PinName pn = NC); /** Get a line from the physical interface. @@ -219,6 +218,8 @@ PinName scl GPS_IF( = GPSSCL, = D15 ), unsigned char i2cAdr GPS_IF( = GPSADR, = (66<<1) ), int rxSize = 256 ); + //! Destructor + ~GPSI2C(void); /** helper function to probe the i2c device \return true if successfully detected the gps.