created separate function for hex to char
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of SS_SensePOC2P0_11Dec2017_USERPID by
Diff: glc.cpp
- Revision:
- 31:0f67acfc6236
- Parent:
- 24:d992ee8369f4
- Child:
- 34:8f6b0dc124e8
--- a/glc.cpp Sat Jul 08 12:06:16 2017 +0000 +++ b/glc.cpp Sat Jul 15 05:39:45 2017 +0000 @@ -432,7 +432,7 @@ structure_file(ptr_BLEMsg_info_glc, pid); // Copy the structure into the GLC file glcfile_mainfile(pid); } - else + else if(err==1 || mgdl>200 || mgdl<40) // added threshold to check value out of range { gtc.printf("replace teststip"); }