publishing to check changes in cdms code
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE_samp_23SEP_DMA_flag by
Diff: COM_MNG_TMTC.h
- Revision:
- 289:9bd62b69874c
- Parent:
- 266:ae588e75cfa4
- Child:
- 290:3159ff1081a2
diff -r aa93d6652381 -r 9bd62b69874c COM_MNG_TMTC.h --- a/COM_MNG_TMTC.h Fri Aug 05 17:13:23 2016 +0000 +++ b/COM_MNG_TMTC.h Sat Aug 06 06:34:38 2016 +0000 @@ -881,7 +881,13 @@ { //gPC.printf("RESET_HK_COUNTER\r\n"); // call PWR_SWCH_ON function - STANDBY_PRCS(); + if(tc_ptr->TC_string[4] == 0x00 || tc_ptr->TC_string[4] == 0x01) + EN_PL = tc_ptr->TC_string[4]; + else if(tc_ptr->TC_string[5] == 0x00 || tc_ptr->TC_string[5] == 0x01) + EN_CDMS_HK = tc_ptr->TC_string[5]; + else if(tc_ptr->TC_string[6] == 0x00 || tc_ptr->TC_string[6] == 0x01) + EN_RCV_SC = tc_ptr->TC_string[6]; + Base_tm *tm_ptr_short = new Short_tm; ACK_L234(tm_ptr_short,0xA0,GETpacket_seq_count(tc_ptr)); return tm_ptr_short; @@ -1624,7 +1630,7 @@ COM_POWER_OFF_TX;\ reset_all;\ /*ENABLE THREADS*/\ - gPAY_SPI->bulkRead_resume(&payload_isr_fun);\ + /*gPAY_SPI->bulkRead_resume(&payload_isr_fun)*/;\ HK_counter->start(10000);\ gSESSION_TIMEOUT.detach();\ gFLAGS = gFLAGS & (~COM_MNG_TMTC_RUNNING_FLAG);\