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: FreescaleIAP SimpleDMA eeprom mbed-rtos mbed
Fork of CDMS_QM_03MAR2017_Flash_with_obsrs by
Diff: FMS_all.h
- Revision:
- 330:6ac9661f2e10
- Parent:
- 328:2242ebc71be8
- Child:
- 333:cddef120cae3
--- a/FMS_all.h	Wed Dec 21 06:06:32 2016 +0000
+++ b/FMS_all.h	Wed Dec 21 09:19:25 2016 +0000
@@ -340,11 +340,15 @@
 
 void FCTN_CDMS_RD_L_RAM(Base_tm *tm_pointer)
 {
+    uint32_t time = FCTN_CDMS_RD_RTC() >> 7;             //Reading Time from RTC
+    for(int i = 124; i<128; i++)
+    CDMS_HEALTH_DATA[i] = time >> (127-i)*8;
     for(int i=0;i<128;i++)
     {
         //tm_pointer->TM_string[i] = 0;
         tm_pointer->TM_string[i+4] = CDMS_HEALTH_DATA[i];
     }
+    
 }
 
 void FCTN_CDMS_MAX_MIN(Base_tm *tm_pointer)
    