To fix the hang problem
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: COM_POWER_OFF_TX.h
- Revision:
- 4:104dd82c99b8
- Child:
- 5:ab276a17ca07
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/COM_POWER_OFF_TX.h Tue Dec 29 06:50:19 2015 +0000 @@ -0,0 +1,14 @@ +#define COM_POWER_OFF_TX {\ + gPC.puts("Inside COM_POWER_OFF_TX\r\n");\ + /*PENDING: POWER OFF TRANSMITTER*/\ + RX1M.attach(&rx_read, Serial::RxIrq);\ + gFLAGS = gFLAGS & (~COM_MNG_TMTC_RUNNING_FLAG);\ + /*PENDING: SWITCH RF RELAY TO BEACON*/\ + /*PENDING: RF_SW_STATUS = RF_BCN*/\ + /*PENDING: POWER ON BAE*/\ + /*PENDING: SET BAE SW_EN_STATUS*/\ + /*PENDING: RESUME BEACON*/\ + gFLAGS = gFLAGS & (~COM_PA_HOT_FLAG);\ + gCOM_PA_COOLING_TIMEOUT.detach();\ + gFLAGS = gFLAGS & (~COM_TX_FLAG);\ +} \ No newline at end of file