working version
Dependencies: mbed mbed-rtos SimpleDMA FreescaleIAP eeprom
Fork of CDMS_CODE_FM_28JAN2017 by
Diff: COM_MNG_TMTC.h
- Revision:
- 281:d1c9ae3605a3
- Parent:
- 266:ae588e75cfa4
- Child:
- 282:74a04dec4b95
--- a/COM_MNG_TMTC.h Wed Jul 27 11:42:46 2016 +0000 +++ b/COM_MNG_TMTC.h Wed Jul 27 12:14:58 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;