FM

Dependencies:   SimpleDMA eeprom mbed-rtos mbed FreescaleIAP

Fork of CDMS_CODE by shubham c

Revision:
37:c9a739750806
Parent:
16:538de1b20b3a
Child:
51:da85d84768e2
diff -r c89376564196 -r c9a739750806 ThreadsAndFunctions.h
--- 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