Repository for CDMS code

Dependencies:   SimpleDMA mbed-rtos mbed eeprom

Fork of COM_MNG_TMTC_SIMPLE by Shreesha S

Revision:
218:c63cdba0550f
Parent:
215:570251b23c7b
Child:
220:2aeab83212e6
diff -r 93505a6f8db7 -r c63cdba0550f main.cpp
--- a/main.cpp	Sun Jul 03 11:35:55 2016 +0000
+++ b/main.cpp	Sun Jul 03 15:25:24 2016 +0000
@@ -17,18 +17,18 @@
 #include "i2c.h"
 #include "COM_SND_TM_functions.h"
 #include "COM_SND_TM.h"
+#include "Flash.h"
+#include "FMS_all.h"
 #include "common_functions.h"
 #include "RESET_functions.h"
 #include "CDMS_HK.h"
 #include "OBSRS.h"
 #include "adf.h"
 #include "COM_RCV_TC.h"
-#include "Flash.h"
-#include "FMS_all.h"
 #include "CDMS_PL.h"
 #include "COM_MNG_TMTC.h"
+#include "COM_POWER_OFF_TX.h"
 #include "COM_POWER_ON_TX.h"
-#include "COM_POWER_OFF_TX.h"
 #include "Compression.h"
 #include "ThreadsAndFunctions.h"
 #include "TEST_PL.h"
@@ -95,6 +95,7 @@
     gCS_RTC = 1;
     gCS_ADF = 1;
 
+    FLASH_INIT();
     FCTN_CDMS_INIT_RTC();
     FCTN_CDMS_SD_INIT();