Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of C027_Support by
Revision 93:2b5478693c20, committed 2014-06-12
- Comitter:
- mazgch
- Date:
- Thu Jun 12 07:17:38 2014 +0000
- Parent:
- 92:79b628d1da02
- Child:
- 94:d697fe11f3e5
- Commit message:
- make destructor virtual (base class has changed)
Changed in this revision
--- a/GPS.h Tue Jun 10 09:14:53 2014 +0000
+++ b/GPS.h Thu Jun 12 07:17:38 2014 +0000
@@ -181,7 +181,7 @@
int txSize = 128 );
//! Destructor
- ~GPSSerial(void);
+ virtual ~GPSSerial(void);
virtual bool init(PinName pn = NC);
@@ -219,7 +219,7 @@
unsigned char i2cAdr GPS_IF( = GPSADR, = (66<<1) ),
int rxSize = 256 );
//! Destructor
- ~GPSI2C(void);
+ virtual ~GPSI2C(void);
/** helper function to probe the i2c device
\return true if successfully detected the gps.
--- a/MDM.h Tue Jun 10 09:14:53 2014 +0000
+++ b/MDM.h Thu Jun 12 07:17:38 2014 +0000
@@ -575,7 +575,7 @@
int rxSize = 256 ,
int txSize = 128 );
//! Destructor
- ~MDMSerial(void);
+ virtual ~MDMSerial(void);
/** Get a line from the physical interface.
\param buf the buffer to store it
@@ -605,7 +605,7 @@
//! Constructor
MDMUsb(void);
//! Destructor
- ~MDMUsb(void);
+ virtual ~MDMUsb(void);
virtual int getLine(char* buffer, int length);
protected:
virtual int _send(const void* buf, int len);
--- a/SerialPipe.h Tue Jun 10 09:14:53 2014 +0000
+++ b/SerialPipe.h Thu Jun 12 07:17:38 2014 +0000
@@ -20,7 +20,7 @@
/** Destructor
*/
- ~SerialPipe(void);
+ virtual ~SerialPipe(void);
// tx channel
//----------------------------------------------------
