Made the initialize function try up to three times to get the card in IDLE state before giving up. This fixes the issue with f_open failing the first time after a power cycle.
Dependents: dm_sdcard_with_adapter dm_sdcard
Fork of SDFileSystem by
FATFileSystem.lib@4:4e415ec868b5, 2014-07-07 (annotated)
- Committer:
- displaymodule
- Date:
- Mon Jul 07 06:29:05 2014 +0000
- Revision:
- 4:4e415ec868b5
- Parent:
- 3:7b35d1709458
Made initialize function try again if the card could not be set to IDLE state. This prevents the issue where the first f_open() fails but all other succeed.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
screamer | 3:7b35d1709458 | 1 | http://mbed.org/users/mbed_official/code/FATFileSystem/#e960e2b81a3c |