Repository for CDMS code
Dependencies: SimpleDMA mbed-rtos mbed eeprom
Fork of COM_MNG_TMTC_SIMPLE by
Diff: cdms_rtc.h
- Revision:
- 301:701ac67649b7
- Parent:
- 289:9bd62b69874c
- Child:
- 343:cd7b1734f7a0
- Child:
- 351:a89a46894ec0
diff -r 609c3e4240c9 -r 701ac67649b7 cdms_rtc.h --- a/cdms_rtc.h Sat Sep 03 16:44:56 2016 +0000 +++ b/cdms_rtc.h Sun Sep 04 11:12:00 2016 +0000 @@ -79,6 +79,8 @@ spi.write(0x00); //set year to 00(2000) gCS_RTC=1; gPC.puts("\n\r rtc initalised \n"); + RTC_INIT_STATUS = 1; + FCTN_CDMS_WR_FLASH(5,1); SPI_mutex.unlock(); }