mbed library sources 只保留l0和l1系列的库,修改l0的库的晶振为12m
Dependents: SANFAN_read_analog_value nucleo-wdg Nucleo_sleep_copy
Fork of mbed-src by
Diff: api/SPI.h
- Revision:
- 212:34d62c0b2af6
- Parent:
- 50:b08ceb75017d
- Child:
- 525:c320967f86b9
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;