pl ack in tmtc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of COM_MNG_TMTC_SIMPLE_pl123 by shubham c

Revision:
37:c9a739750806
Parent:
16:538de1b20b3a
Child:
51:da85d84768e2
--- a/ThreadsAndFunctions.h	Wed Jan 06 13:24:24 2016 +0000
+++ b/ThreadsAndFunctions.h	Sat Jan 09 09:56:01 2016 +0000
@@ -131,8 +131,8 @@
                         uint8_t tempGSver = 0x00;
                         GScodeVerification(tempGSver);
                         /*PENDING: INCLUDE GS VERIFICATION CODE*/
-                        if( true ){
-                            /*gPC.puts("GC code match !!\r\n");*/
+                        if( tempGSver == 0xFF ){
+                            /*gPC.puts("GS code match !!\r\n");*/
                             gFLAGS = gFLAGS | COM_SESSION_VALIDITY;
                             COM_POWER_ON_TX;
                             // PENDING: PA HOT HANDLED IN EXECUTE_XXX FUNCTIONS