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: ecgg.cpp
- Revision:
- 34:8f6b0dc124e8
- Parent:
- 32:76892fdf5e4c
- Child:
- 36:00d96aa14658
diff -r a80eed071fdc -r 8f6b0dc124e8 ecgg.cpp
--- a/ecgg.cpp Tue Jul 18 04:15:30 2017 +0000
+++ b/ecgg.cpp Sun Jul 23 16:50:59 2017 +0000
@@ -269,7 +269,7 @@
{
BLEMsg_info_ecg.cal_data.cal_sbp_dummy = 0;
- BLEMsg_info_ecg.cal_data.cal_dbp_OTtyp = HR1; //To be modified after HR code is added.
+ BLEMsg_info_ecg.cal_data.cal_dbp_OTtyp = HR_avg; //To be modified after HR code is added. // changed nikita
structure_file(ptr_BLEMsg_info_ecg, pid); //copy the ECG structure to Main file //COMMENTED Nidhin 10/6/2017
ecgfile_mainfile(pid); // copy raw data to the main file and ECG file is cleared. //COMMENTED Nidhin 10/6/2017
@@ -285,9 +285,9 @@
else
{
pc.printf("improper lead connection");
- return 0;
+ return 0; // returning 0 for improper lead connection
}
pc.printf("closing temporary file\n");
// fclose(fpeecg1);
// pc.printf("temporary file closed\n");
-} // End of main function
+} // End of main function
\ No newline at end of file
