Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of merged_code2_3rd_nov_2017 by
Diff: sdcard.cpp
- Revision:
- 46:162ed3f051b2
- Parent:
- 43:85a7f399cb9d
- Child:
- 49:3ff80c4bc1be
--- a/sdcard.cpp Tue Sep 12 10:08:04 2017 +0000 +++ b/sdcard.cpp Wed Sep 13 06:06:41 2017 +0000 @@ -110,7 +110,7 @@ } } - void sd_read(uint32_t *v1, int size) //reading the data from the openend file + void sd_read(uint32_t *v1, uint16_t size) //reading the data from the openend file { fread(v1,sizeof(v1),size,fp); } @@ -128,7 +128,7 @@ } -int file_size() +uint32_t file_size() { int file_length; fseek (fp, 0, SEEK_END); @@ -139,7 +139,7 @@ } - int file_size1() +uint32_t file_size1() { int file_length; // fseek (fp, 0, SEEK_END);