USBMSD SD card Hello World for Mbed platforms
Dependencies: mbed USBMSD_SD USBDevice
Diff: ChaNFSSD/SDFileSystem.cpp
- Revision:
- 12:a12eb1fc05f3
- Parent:
- 9:9c343b9ee6d8
- Child:
- 13:32b8a767cf0e
--- a/ChaNFSSD/SDFileSystem.cpp Wed Nov 16 17:17:42 2011 +0000 +++ b/ChaNFSSD/SDFileSystem.cpp Wed Nov 30 17:50:35 2011 +0000 @@ -120,8 +120,7 @@ SDFileSystem::SDFileSystem(PinName mosi, PinName miso, PinName sclk, PinName cs, const char* name) : FATFileSystem(name), _spi(mosi, miso, sclk), _cs(cs) { - _cs = 1; - USBMSD::connect(); + _cs = 1; } #define R1_IDLE_STATE (1 << 0)