Some data rate setting was making program stop in runtime

Dependencies:   FATFileSystem

Fork of SDFileSystem by mbed official

Files at this revision

API Documentation at this revision

Comitter:
LBradJob
Date:
Tue Nov 07 21:32:29 2017 +0000
Parent:
6:8db0d3b02cec
Commit message:
Had to change a parameter that was stopping whole program during runtime

Changed in this revision

SDFileSystem.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 8db0d3b02cec -r b71acbc0ee73 SDFileSystem.cpp
--- a/SDFileSystem.cpp	Fri Sep 09 19:35:14 2016 +0000
+++ b/SDFileSystem.cpp	Tue Nov 07 21:32:29 2017 +0000
@@ -124,7 +124,7 @@
     _cs = 1;
 
     // Set default to 100kHz for initialisation and 1MHz for data transfer
-    _init_sck = 100000;
+    _init_sck = 187500;
     _transfer_sck = 1000000;
 }