pl ack in tmtc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of COM_MNG_TMTC_SIMPLE_pl123 by shubham c

Revision:
18:f87a5b919d60
Parent:
15:1c1ca992b43b
--- a/COM_MNG_TMTC.h	Thu Dec 31 13:14:59 2015 +0000
+++ b/COM_MNG_TMTC.h	Fri Jan 01 06:40:02 2016 +0000
@@ -599,7 +599,7 @@
         }\
     }\
     obosc_tm_current = obosc_tm_head;\
-    while( obosc_tm_current != NULL ){\
+    /*while( obosc_tm_current != NULL ){\
         int length = TM_SHORT_SIZE;\
         if( GETshort_or_long_tm(obosc_tm_current->fields) == SHORT_TM_CODE ){\
             length = TM_SHORT_SIZE;\
@@ -611,9 +611,9 @@
             gPC.putc(obosc_tm_current->TM_string[i]);\
         }\
         obosc_tm_current = obosc_tm_current->next_TM;\
-    }\
-    /*snd_tm.head_pointer(obosc_tm_head);*/\
-    /*adf_not_SDcard();*/\
+    }*/\
+    snd_tm.head_pointer(obosc_tm_head);\
+    adf_not_SDcard();\
     /*DELETE THE TM AFTER USE*/\
     obosc_tm_current = obosc_tm_head;\
     int overCount = 0;\
@@ -730,7 +730,7 @@
                                 gFLAGS = gFLAGS | COM_PA_HOT_FLAG;\
                             }\
                             tm_ptr = tm_ptr_head;\
-                            while( tm_ptr != NULL ){\
+                            /*while( tm_ptr != NULL ){\
                                 int length = TM_SHORT_SIZE;\
                                 if( GETshort_or_long_tm(tm_ptr->fields) == SHORT_TM_CODE ){\
                                     length = TM_SHORT_SIZE;\
@@ -742,10 +742,10 @@
                                     gPC.putc(tm_ptr->TM_string[i]);\
                                 }\
                                 tm_ptr = tm_ptr->next_TM;\
-                            }\
+                            }*/\
                             /*SEND DATA TO GS*/\
-                            /*snd_tm.head_pointer(tm_ptr_head);*/\
-                            /*adf_not_SDcard();*/\
+                            snd_tm.head_pointer(tm_ptr_head);\
+                            adf_not_SDcard();\
                             /*DELETE THE TM AFTER USE*/\
                             tm_ptr = tm_ptr_head;\
                             overflowCountExecute = 0;\