Repository for CDMS code
Dependencies: SimpleDMA mbed-rtos mbed eeprom
Fork of COM_MNG_TMTC_SIMPLE by
Diff: CDMS_HK.h
- Revision:
- 313:5d06a08baf0e
- Parent:
- 311:af5ab655ba00
- Child:
- 315:f9a30c8cbe96
diff -r 91755ef8f22a -r 5d06a08baf0e CDMS_HK.h --- a/CDMS_HK.h Tue Nov 22 08:08:46 2016 +0000 +++ b/CDMS_HK.h Tue Dec 06 09:35:26 2016 +0000 @@ -549,8 +549,9 @@ CDMS_RAM[16] = CDMS_WR_SD_FAULT_COUNTER; CDMS_RAM[17] = SD_LIB_WRITES >> 8; CDMS_RAM[18] = SD_LIB_WRITES; + TIME_LATEST_RTC= FCTN_CDMS_RD_RTC() >> 7; // added by samp for(int i = 0; i<4; i++) - CDMS_RAM[19+i] = TIME_LATEST_RTC >> (3-i)*8; + CDMS_RAM[19+i] = TIME_LATEST_RTC >> (3-i)*8; for(int i = 0; i<4; i++) CDMS_RAM[23+i] = TIME_LATEST_I2C_BAE >> (3-i)*8; for(int i = 0; i<4; i++)