SDFileSystem, slightly modified for the ExoController

Dependencies:   SDFileSystem

Dependents:   Data-Management-Honka

Fork of SDFileSystem_HelloWorld by Bradley Perry

Revision:
7:51c9391e6c4c
Parent:
6:0fdda2533593
Child:
8:964f832265b8
--- a/SDFile.cpp	Fri Feb 20 20:10:14 2015 +0000
+++ b/SDFile.cpp	Thu Feb 26 18:28:14 2015 +0000
@@ -68,13 +68,14 @@
 {
     //printf("Seeking START...\r\n");
     fseek(_fp, 0, SEEK_SET);
+//    printf("Writing %d\r\n", array[0]);
     //printf("Starting to write\r\n");
     for(int i = 0; i < length-1; i++) {
         /* This line fails when run on testFile, reason unknown...*/
         //printf("%d\r\n", fprintf(_fp, "%04x, ", array[i]));
         fprintf(_fp, "%04x, ", array[i]);
     }
-//    printf("%d\r\n", fprintf(_fp, "%04x\r\n", array[length-1]));
+    //printf("%d\r\n", fprintf(_fp, "%04x\r\n", array[length-1]));
     fprintf(_fp, "%04x\r\n", array[length-1]);
 }