pl ack in tmtc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of COM_MNG_TMTC_SIMPLE_pl123 by shubham c

Revision:
15:1c1ca992b43b
Parent:
12:ffdb29353058
Child:
18:f87a5b919d60
Child:
19:27e5f2edaf26
Child:
22:5febef18443d
Child:
24:55cd06f4a534
diff -r 08c2c887ea09 -r 1c1ca992b43b COM_POWER_ON_TX.h
--- a/COM_POWER_ON_TX.h	Thu Dec 31 12:04:21 2015 +0000
+++ b/COM_POWER_ON_TX.h	Thu Dec 31 13:14:59 2015 +0000
@@ -70,6 +70,20 @@
             }\
         }\
         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;\
+            }\
+            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*/\
         /*deleting the telemetry*/\
         power_on_tm = power_on_tm_head;\