someone else's sdfilesystem library
Diff: SDFileSystem.cpp
- Revision:
- 7:57b36f905bd4
- Parent:
- 4:3f40cbfe801c
--- 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: