To fix the hang problem

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE by shubham c

Revision:
319:c11a52b91d25
Parent:
295:699801854b71
Child:
320:7080e8c46988
Child:
321:42bdefc37270
--- a/COM_MNG_TMTC.h	Thu Dec 08 13:12:34 2016 +0000
+++ b/COM_MNG_TMTC.h	Thu Dec 08 15:17:24 2016 +0000
@@ -1360,8 +1360,8 @@
         }\
         obosc_tm_current->next_TM = obosc_tm;\
         /*Sending OBOSC TM to GS*/\
-        /*snd_tm.head_pointer(obosc_tm_head);*/\
-        /*transmit_adf;*/\
+        snd_tm.head_pointer(obosc_tm_head);\
+        transmit_adf;\
         /*DELETE THE TM AFTER USE*/\
         obosc_tm_current = obosc_tm_head;\
         int overCount = 0;\
@@ -1434,8 +1434,8 @@
                             tm_ptr = tm_ptr->next_TM;\
                         }\
                         /*Send only call sign, ACK_L1 to GS*/\
-                        /*snd_tm.head_pointer(tm_ptr_head);*/\
-                        /*transmit_adf;*/\
+                        snd_tm.head_pointer(tm_ptr_head);\
+                        transmit_adf;\
                         /*DELETE THE TM AFTER USE*/\
                         tm_ptr = tm_ptr_head;\
                         int overflowCountExecute = 0;\