pl ack in tmtc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of COM_MNG_TMTC_SIMPLE_pl123 by shubham c

Revision:
69:20f09a0c3fd2
Parent:
23:c89376564196
Child:
89:cca875337dd5
--- a/COM_POWER_ON_TX.h	Fri Jan 15 12:02:12 2016 +0000
+++ b/COM_POWER_ON_TX.h	Sun Jan 17 14:04:08 2016 +0000
@@ -70,22 +70,10 @@
             }\
         }\
         get_tc_list(power_on_tm->next_TM, 0x00);\
-        power_on_tm = power_on_tm_head;\
-        while(power_on_tm != NULL){\
-            int length = TM_SHORT_SIZE;\
-            if( GETshort_or_long_tm(power_on_tm->fields) == SHORT_TM_CODE ){\
-                length = TM_SHORT_SIZE;\
-            }\
-            else{\
-                length = TM_LONG_SIZE;\
-            }\
-            /*gPC.puts("Printing Call Sign, ACK_L1, TC_LIST inside COM_POWER_ON\r\n");*/\
-            for(int i = 0 ; i < length ; ++i){\
-                gPC.putc(power_on_tm->TM_string[i]);\
-            }\
-            power_on_tm = power_on_tm->next_TM;\
-        }\
         /*PENDING: TRANSMIT ABOVE TM*/\
+        /*Call Sign, ACK_L1, TC_LIST*/\
+        snd_tm.head_pointer(power_on_tm_head);\
+        adf_not_SDcard;\
         /*deleting the telemetry*/\
         power_on_tm = power_on_tm_head;\
         overFlowCountADF = 0;\