pl ack in tmtc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of COM_MNG_TMTC_SIMPLE_pl123 by shubham c

Revision:
16:538de1b20b3a
Parent:
12:ffdb29353058
Child:
17:6eb9387f1fb8
Child:
25:60964ad4f13b
Child:
37:c9a739750806
diff -r 1c1ca992b43b -r 538de1b20b3a ThreadsAndFunctions.h
--- a/ThreadsAndFunctions.h	Thu Dec 31 13:14:59 2015 +0000
+++ b/ThreadsAndFunctions.h	Thu Dec 31 18:35:59 2015 +0000
@@ -166,16 +166,16 @@
                         }
                     }
                     else{
-                        /*gPC.puts("tc list is not complete\r\n");*/
+                        gPC.puts("tc list is not complete\r\n");
                         if(tempContinue & 0x01){
-                            /*gPC.puts("last packet bit not found\r\n");*/
+                            gPC.puts("last packet bit not found\r\n");
                         }
                         if( tempContinue & 0x02 ){
-                            /*gPC.puts("missing psc found\r\n");*/
+                            gPC.puts("missing psc found\r\n");
                         }
-                        /*gPC.printf("crc fail tc = %u\r\n", gTOTAL_CRC_FAIL_TC);*/
-                        /*gPC.printf("incorrect size tc = %u\r\n", gTOTAL_INCORRECT_SIZE_TC);*/
-                        /*gPC.printf("repeated psc = %u\r\n", gTOTAL_REPEATED_TC);*/
+                        gPC.printf("crc fail tc = %u\r\n", gTOTAL_CRC_FAIL_TC);
+                        gPC.printf("incorrect size tc = %u\r\n", gTOTAL_INCORRECT_SIZE_TC);
+                        gPC.printf("repeated psc = %u\r\n", gTOTAL_REPEATED_TC);
                         Base_tc *test_tc = gHEAD_NODE_TCL;
                         while( test_tc != NULL ){
                             int length = 0;
@@ -185,13 +185,13 @@
                             else{
                                 length = TC_LONG_SIZE;
                             }
-                            /*for(int i = 0 ; i < length ; ++i ){
+                            for(int i = 0 ; i < length ; ++i ){
                                 gPC.printf("%x ", test_tc->TC_string[i]);
                             }
-                            gPC.puts("\r\n");*/
+                            gPC.puts("\r\n");
                             test_tc = test_tc->next_TC;
                         }
-                        /*gPC.puts("\r\n");*/
+                        gPC.puts("\r\n");
                         COM_POWER_ON_TX;
                         // PENDING : POWER OFF TX
                         RX1M.attach(&rx_read, Serial::RxIrq);