To fix the hang problem
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: COM_POWER_OFF_TX.h
- Revision:
- 319:c11a52b91d25
- Parent:
- 295:699801854b71
- Child:
- 333:cddef120cae3
--- a/COM_POWER_OFF_TX.h Thu Dec 08 13:12:34 2016 +0000 +++ b/COM_POWER_OFF_TX.h Thu Dec 08 15:17:24 2016 +0000 @@ -77,7 +77,7 @@ RF_SW_CNTRL_BCN = 1;\ Thread::wait(25);\ RF_SW_CNTRL_BCN = 0;\ - gFLAGS = gFLAGS | RF_SW_STATUS_FLAG;\ + gFLAGS = gFLAGS & (~RF_SW_STATUS_FLAG);/*RF_SW_STATUS_FLAG set to RF_COM_BCN*/\ if( gFLAGS & COM_AUTO_POWER_OFF_BAE_FLAG ){\ /*gPC.puts("powering on bae\r\n")*/;\ SW_ON_BAE;\