To fix the hang problem

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE by shubham c

Revision:
231:e2bd2a990bfe
Parent:
228:335da5b0d3e4
Child:
234:2a1ea88086f3
--- a/main.cpp	Mon Jul 04 23:13:24 2016 +0000
+++ b/main.cpp	Tue Jul 05 11:27:29 2016 +0000
@@ -3,14 +3,14 @@
 
 
 #include "mbed.h"
-
+#define RESET_CDMS NVIC_SystemReset()
 #define DEBUG 1
 
 #include "SimpleDMA.h"
 #include "dmaSPIslave.h"
 #include "rtos.h"
 #include "mbed_debug.h"
-
+void rx_read();
 #include "Structures.h"
 #include "pinconfig.h"
 #include "DefinitionsAndGlobals.h"
@@ -30,8 +30,8 @@
 #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"