lkdsnf;
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of COM_MNG_TMTC_SIMPLE_PL_Working by
Diff: COM_MNG_TMTC.h
- Revision:
- 77:11318af9b144
- Parent:
- 76:adba77e6bdb5
- Child:
- 78:8501118c428f
diff -r adba77e6bdb5 -r 11318af9b144 COM_MNG_TMTC.h --- a/COM_MNG_TMTC.h Tue Jan 19 05:56:28 2016 +0000 +++ b/COM_MNG_TMTC.h Tue Jan 19 05:57:10 2016 +0000 @@ -1302,38 +1302,10 @@ get_call_sign(tm_ptr_head);\ Base_tm *tm_ptr = tm_ptr_head;\ get_ack_l1(tm_ptr->next_TM);\ - tm_ptr = tm_ptr_head;\ - while( tm_ptr != NULL ){\ - int length = TM_SHORT_SIZE;\ - if( GETshort_or_long_tm(tm_ptr->fields) == SHORT_TM_CODE ){\ - length = TM_SHORT_SIZE;\ - }\ - else{\ - length = TM_LONG_SIZE;\ - }\ - /*gPC.puts("Printing Call Sign, ACK_L1, TM list");*/\ - for(int i = 0 ; i < length ; ++i){\ - /*gPC.putc(tm_ptr->TM_string[i]);*/\ - }\ - tm_ptr = tm_ptr->next_TM;\ - }\ - /*snd_tm.head_pointer(tm_ptr_head);*/\ - /*adf_not_SDcard;*/\ - /*DELETE THE TM AFTER USE*/\ - tm_ptr = tm_ptr_head;\ - int overflowCountExecute = 0;\ - while(tm_ptr != NULL){\ - if( overflowCountExecute < TM_OVERFLOW_CONSTANT ){\ - Base_tm *temp = tm_ptr->next_TM;\ - delete tm_ptr;\ - tm_ptr = temp;\ - ++overflowCountExecute;\ - }\ - else{\ - /*PENDING: RESET CDMS*/\ - break;\ - }\ - }\ + /*Send only call sign, ACK_L1*/\ + snd_tm.head_pointer(tm_ptr_head);\ + adf_not_SDcard;\ + delete_all_tm(tm_ptr_head);\ break;\ }\ else if( (current_exec_status == TC_STATE_UNEXECUTED) || (current_exec_status == TC_STATE_MARKED_RETRY) ){\