modified version defaulting to a much higher SPI clock

Dependencies:   FATFileSystem

Dependents:   SerialBlockReceiver

Fork of SDFileSystem by mbed official

Revision:
8:205da3832a79
Parent:
7:115317fc2a8b
--- a/SDFileSystem.cpp	Tue Dec 12 23:53:14 2017 +0000
+++ b/SDFileSystem.cpp	Mon Jan 22 23:32:44 2018 +0000
@@ -125,7 +125,7 @@
 
     // Set default to 100kHz for initialisation and 1MHz for data transfer
     _init_sck = 100000;
-    _transfer_sck = 16000000;
+    _transfer_sck = 20000000;
 }
 
 #define R1_IDLE_STATE           (1 << 0)
@@ -421,7 +421,7 @@
         _spi.write(0xFF);
         return 1;
     }
-
+    
     // wait for write to finish
     while (_spi.write(0xFF) == 0);