someone else's sdfilesystem library

Dependencies:   FATFileSystem

Files at this revision

API Documentation at this revision

Comitter:
aklapatch
Date:
Sat May 11 15:51:14 2019 +0000
Parent:
6:8db0d3b02cec
Commit message:
updated library and broke the microcontroller;

Changed in this revision

FATFileSystem.lib Show annotated file Show diff for this revision Revisions of this file
SDFileSystem.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/FATFileSystem.lib	Fri Sep 09 19:35:14 2016 +0000
+++ b/FATFileSystem.lib	Sat May 11 15:51:14 2019 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/teams/mbed-official/code/FATFileSystem/#e2ab678eb692
+https://developer.mbed.org/teams/mbed-official/code/FATFileSystem/#28e685e5ff7f
--- a/SDFileSystem.cpp	Fri Sep 09 19:35:14 2016 +0000
+++ b/SDFileSystem.cpp	Sat May 11 15:51:14 2019 +0000
@@ -480,14 +480,14 @@
             blocknr = (c_size + 1) * mult;
             capacity = blocknr * block_len;
             blocks = capacity / 512;
-            debug_if(SD_DBG, "\n\rSDCard\n\rc_size: %d \n\rcapacity: %ld \n\rsectors: %lld\n\r", c_size, capacity, blocks);
+            debug_if(SD_DBG, "\n\rSDCard\n\rc_size: %u \n\rcapacity: %lu \n\rsectors: %lu\n\r", c_size, capacity, blocks);
             break;
 
         case 1:
             cdv = 1;
             hc_c_size = ext_bits(csd, 63, 48);
             blocks = (hc_c_size+1)*1024;
-            debug_if(SD_DBG, "\n\rSDHC Card \n\rhc_c_size: %d\n\rcapacity: %lld \n\rsectors: %lld\n\r", hc_c_size, blocks*512, blocks);
+            debug_if(SD_DBG, "\n\rSDHC Card \n\rhc_c_size: %u\n\rcapacity: %lu \n\rsectors: %lu\n\r", hc_c_size, blocks*512, blocks);
             break;
 
         default: