Slight modification to SDFileSystem so that if the first initialization doesn't do the trick it tries doing it again (which so far has fixed every issue for me)
Fork of SDFileSystem by
Diff: SDFileSystem.h
- Revision:
- 3:722f622d057a
- Parent:
- 1:7153ee70df01
--- a/SDFileSystem.h Thu Nov 29 10:56:21 2012 +0000 +++ b/SDFileSystem.h Tue Apr 16 05:23:18 2013 +0000 @@ -77,6 +77,7 @@ SPI _spi; DigitalOut _cs; int cdv; + int tried_again; }; #endif