mbed library sources

Fork of mbed-src by mbed official

Revision:
212:34d62c0b2af6
Parent:
50:b08ceb75017d
Child:
525:c320967f86b9
--- a/api/SPI.h	Sun May 25 08:00:07 2014 +0100
+++ b/api/SPI.h	Mon May 26 18:15:07 2014 +0100
@@ -92,6 +92,10 @@
     */
     virtual int write(int value);
 
+public:
+    virtual ~SPI() {
+    }
+
 protected:
     spi_t _spi;