
Changes done in ECG and BT
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of merged_code2_20sept_2017_4th_oct_2017 by
Diff: sdcard.cpp
- Revision:
- 27:907f8ce0025e
- Parent:
- 26:53ff13a164f3
- Child:
- 36:00d96aa14658
--- 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; } }