Add:SPI* SpiPointer() to share the SPI bus.
Fork of SDFileSystem by
Diff: SDFileSystem.h
- Revision:
- 27:0475419924d4
- Parent:
- 23:6bb3c1987511
--- a/SDFileSystem.h Mon Aug 29 15:05:27 2016 +0000 +++ b/SDFileSystem.h Tue Nov 22 10:05:06 2016 +0000 @@ -167,6 +167,10 @@ virtual int disk_write(const uint8_t* buffer, uint32_t sector, uint32_t count); virtual int disk_sync(); virtual uint32_t disk_sectors(); + + // 2016.11.22 by ryood + // For share the SPI bus + SPI* SpiPointer() { return &m_Spi; } private: //Commands