FM

Dependencies:   SimpleDMA eeprom mbed-rtos mbed FreescaleIAP

Fork of CDMS_CODE by shubham c

Revision:
34:f0b518523381
Parent:
25:60964ad4f13b
diff -r 8f5a4ce4ba4a -r f0b518523381 ThreadsAndFunctions.h
--- a/ThreadsAndFunctions.h	Wed Jan 06 14:52:12 2016 +0000
+++ b/ThreadsAndFunctions.h	Wed Jan 06 21:23:42 2016 +0000
@@ -70,7 +70,7 @@
 
 void COM_MNG_TMTC_FUN(void const *args){
     if( !(gFLAGS & COM_SESSION_FLAG) ){
-        //gLEDR = 1;
+        gLEDR = 1;
         gLEDG = 1;
     }
     while(true){
@@ -85,17 +85,17 @@
                 PUT_RAW_BYTE;
                 // PENDING : MEASURE RSSI
                 if( gFLAGS & COM_SESSION_FLAG ){
-                    //gLEDR = 0;
+                    gLEDR = 0;
                     gLEDG = 0;
                 }
             }
             else if( gFLAGS & COM_RX_FLAG ){
-                //gLEDR = 0;
+                gLEDR = 0;
                 gLEDG = 1;
                 PUT_RAW_BYTE;
             }
             else{
-                //gLEDR = 1;
+                gLEDR = 1;
                 gLEDG = 0;
                 gFLAGS = gFLAGS | COM_RX_FLAG;
                 PUT_RAW_BYTE;