Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SDFileSystem by
Revision 27:0475419924d4, committed 2016-11-22
- Comitter:
- ryood
- Date:
- Tue Nov 22 10:05:06 2016 +0000
- Parent:
- 26:e4d2567200db
- Commit message:
- Add: SPI* SpiPointer() to share the SPI bus
Changed in this revision
SDFileSystem.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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