fork from va009039/USBLocalFileSystem
Dependents: 11u35_usbLocalFilesystem
Fork of USBLocalFileSystem by
Diff: src/SDStorage.cpp
- Revision:
- 11:c396747794c6
- Parent:
- 2:97c314eae8b8
diff -r a538e428a664 -r c396747794c6 src/SDStorage.cpp --- a/src/SDStorage.cpp Tue Nov 10 01:08:30 2015 +0000 +++ b/src/SDStorage.cpp Fri Mar 04 10:27:29 2016 +0000 @@ -443,12 +443,12 @@ debug("Couldn't read csd response from disk\n"); return 0; } - + // csd_structure : csd[127:126] // c_size : csd[73:62] // c_size_mult : csd[49:47] // read_bl_len : csd[83:80] - the *maximum* read block length - + int csd_structure = ext_bits(csd, 127, 126); switch (csd_structure) {