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.
Dependencies: USBDevice USBMSD_SD mbed
Fork of USBMSD_SD_HelloWorld_Mbed by
Diff: ChaNFSSD/SDFileSystem.h
- Revision:
- 13:32b8a767cf0e
- Parent:
- 9:9c343b9ee6d8
- Child:
- 14:757226626acb
--- a/ChaNFSSD/SDFileSystem.h Wed Nov 30 17:50:35 2011 +0000
+++ b/ChaNFSSD/SDFileSystem.h Mon Dec 05 14:34:29 2011 +0000
@@ -59,6 +59,7 @@
virtual int disk_status();
virtual int disk_sync();
virtual int disk_sectors();
+ virtual int disk_size();
protected:
@@ -75,6 +76,8 @@
int _sd_sectors();
int _sectors;
+ int capacity;
+
SPI _spi;
DigitalOut _cs;
};
