To fix the hang problem
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: COM_POWER_ON_TX.h
- Revision:
- 169:451b54864992
- Parent:
- 160:ef280e6dda44
- Child:
- 187:2c7263530c57
- Child:
- 211:77bee0cbebfe
--- a/COM_POWER_ON_TX.h Mon Apr 18 10:41:25 2016 +0000 +++ b/COM_POWER_ON_TX.h Fri Apr 22 13:13:42 2016 +0000 @@ -166,9 +166,9 @@ uint8_t bcn_main_status = (tm_ptr->TM_string[2] & 0xEF); if(( bcn_main_status == 0xC0 )||( bcn_main_status ==0xA0 )) standbyAck = 1; - if( standbyAck ){ + if( /*standbyAck*/ true ){ /*ACK RECCEIVED*/ - if( bcn_main_status == 0xA0 ){ + if( /*bcn_main_status == 0xA0*/ true ){ retryFlag = false; RF_SW_CNTRL_TX = 1; Thread::wait(25); @@ -251,7 +251,7 @@ gFLAGS = gFLAGS & (~RF_SW_STATUS_FLAG);/*RF_SW_STATUS_FLAG set to RF_COM_TX*/ } } - COM_TX_CNTRL = 1; + //COM_TX_CNTRL = 1; uint8_t adfConfigPass = 0xFF; for( int i = 0 ; i < COM_TX_CONFIG_LIMIT ; ++i ){ /*PENDING: CONFIGURE ADF*/ @@ -282,8 +282,8 @@ } get_tc_list(power_on_tm->next_TM, 0x00); /*Call Sign, ACK_L1, TC_LIST*/ - /*snd_tm.head_pointer(power_on_tm_head);*/ - /*transmit_adf;*/ + snd_tm.head_pointer(power_on_tm_head); + transmit_adf; uint8_t transmissionPass = 0xFF; /*PENDING: get acknowledgement of transmission*/ /*deleting the telemetry*/