To fix the hang problem
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: COM_POWER_ON_TX.h
- Revision:
- 275:605dd29161ad
- Parent:
- 264:f7d8f9f361e3
--- a/COM_POWER_ON_TX.h Wed Jul 20 09:58:59 2016 +0000 +++ b/COM_POWER_ON_TX.h Sat Jul 23 23:37:46 2016 +0000 @@ -116,8 +116,7 @@ if( !(gFLAGS & COM_TX_FLAG) ){ gFLAGS = gFLAGS | COM_TX_FLAG; gPC.puts("Inside COM_TX_FLAG\r\n"); - gFLAGS = gFLAGS | BAE_SW_EN_FLAG ; - if( gFLAGS & BAE_SW_EN_FLAG ){ + if( BAE_SW_STATUS == DEVICE_POWERED ){ /*WARNING: INFINITE WHILE LOOP POSSIBLE: if standby ack received and bcn tx main status = 0*/ bool retryFlag = true; while( retryFlag == true ){