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:
- 27:907f8ce0025e
- Parent:
- 26:53ff13a164f3
- Child:
- 36:00d96aa14658
diff -r 53ff13a164f3 -r 907f8ce0025e sdcard.cpp --- a/sdcard.cpp Wed Jul 05 15:36:58 2017 +0000 +++ b/sdcard.cpp Sat Jul 08 04:19:45 2017 +0000 @@ -127,7 +127,7 @@ } - void sd_open_read(int32_t pid) // opening the file for read +uint8_t sd_open_read(int32_t pid) // opening the file for read // CHNAGED to return value { char buffer1[32]; @@ -136,11 +136,13 @@ if (fp==NULL) { snd.printf("no"); + return 0; } else { snd.printf("yes"); + return 1; } }