mbed library sources, with proposed I2C for Seed Arch BLE - not working -
Dependents: Seeed_Barometer_Sensor_Example
Fork of mbed-src by
Diff: api/SPI.h
- Revision:
- 212:34d62c0b2af6
- Parent:
- 50:b08ceb75017d
diff -r fb8edfff6ae1 -r 34d62c0b2af6 api/SPI.h --- 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;