CDMS code for testing sbc
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: ThreadsAndFunctions.h
- Revision:
- 25:60964ad4f13b
- Parent:
- 16:538de1b20b3a
- Child:
- 34:f0b518523381
diff -r 0e856afd1cf1 -r 60964ad4f13b ThreadsAndFunctions.h --- a/ThreadsAndFunctions.h Fri Jan 01 16:49:16 2016 +0000 +++ b/ThreadsAndFunctions.h Sat Jan 02 05:43:22 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;