mbed library sources that still uses the stm standard peripheral library
Fork of mbed-src by
Diff: api/SPI.h
- Revision:
- 212:34d62c0b2af6
- Parent:
- 50:b08ceb75017d
--- 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;