11th feb i2c checking chaitu's code
Dependencies: SimpleDMA eeprom mbed-rtos mbed
Fork of CDMS_CODE_FM_28JAN2017 by
Diff: cdms_rtc.h
- Revision:
- 301:701ac67649b7
- Parent:
- 289:9bd62b69874c
- Child:
- 343:cd7b1734f7a0
- Child:
- 351:a89a46894ec0
--- 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(); }