Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: ThreadsAndFunctions.h
- Revision:
- 34:f0b518523381
- Parent:
- 25:60964ad4f13b
--- 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;
