pl ack in tmtc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of COM_MNG_TMTC_SIMPLE_pl123 by shubham c

Revision:
131:8745e6041ebc
Parent:
130:d5b53088270b
--- a/COM_MNG_TMTC.h	Sat Feb 27 07:12:04 2016 +0000
+++ b/COM_MNG_TMTC.h	Sat Feb 27 10:22:40 2016 +0000
@@ -995,12 +995,19 @@
             #if DEBUG
             printf("Telecommand is for PL\r\n");
             #endif
+            char data_dum[] = "dummy";
+            FCTN_I2C_WRITE_PL(data_dum,5);
+            #if DEBUG
+            printf("dummy data sent\r\n");
+            #endif
+            
             // printf("Informing PL about TC using I2C\r\n"); //interrupt to be sent to the bae
-            if(GETshort_or_long_tc(tc_ptr) == LONG_TC_CODE)
+            /*if(GETshort_or_long_tc(tc_ptr) == LONG_TC_CODE)
                 FCTN_I2C_WRITE_PL((char*)tc_ptr->TC_string,TC_LONG_SIZE);
             else 
+            {
                 FCTN_I2C_WRITE_PL((char*)tc_ptr->TC_string,TC_SHORT_SIZE);
-            
+            }*/
             
             
             while(1)