Repository for CDMS code
Dependencies: SimpleDMA mbed-rtos mbed eeprom
Fork of COM_MNG_TMTC_SIMPLE by
Diff: cdms_rtc.h
- Revision:
- 343:cd7b1734f7a0
- Parent:
- 301:701ac67649b7
--- a/cdms_rtc.h Mon Jan 02 14:21:44 2017 +0000 +++ b/cdms_rtc.h Wed Jan 04 10:55:22 2017 +0000 @@ -80,7 +80,8 @@ gCS_RTC=1; gPC.puts("\n\r rtc initalised \n"); RTC_INIT_STATUS = 1; - FCTN_CDMS_WR_FLASH(5,1); + WRITE_TO_EEPROM(5,(int32_t)1); + //FCTN_CDMS_WR_FLASH(5,1); SPI_mutex.unlock(); }