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:
- 276:9e5b0085763d
- Parent:
- 270:9dacc1d8459a
--- a/COM_MNG_TMTC.h Thu Jul 21 11:07:04 2016 +0000 +++ b/COM_MNG_TMTC.h Wed Jul 27 09:54:26 2016 +0000 @@ -880,12 +880,12 @@ else if(GETpid(tc_ptr)==0x40) { //gPC.printf("RESET_HK_COUNTER\r\n"); // call PWR_SWCH_ON function - 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_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]; + 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;