
Repository for CDMS code
Dependencies: SimpleDMA mbed-rtos mbed eeprom
Fork of COM_MNG_TMTC_SIMPLE by
Revision 29:f4c59f7285a2, committed 2016-01-03
- Comitter:
- ee12b079
- Date:
- Sun Jan 03 16:21:52 2016 +0000
- Parent:
- 28:cd3212fe5643
- Child:
- 30:154938956d89
- Commit message:
- Working for type1 ... checking for type0; Exoring left;
Changed in this revision
COM_SND_TM.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/COM_SND_TM.h Sun Jan 03 12:01:42 2016 +0000 +++ b/COM_SND_TM.h Sun Jan 03 16:21:52 2016 +0000 @@ -63,7 +63,7 @@ Base_tm*head = head_ptr; type0_no = 0; type1_no = 0; - while(head->next_TM != NULL){ + while(head!= NULL){ switch( GETshort_or_long_tm(head->fields) ){ case 0: type0_no++; @@ -335,15 +335,7 @@ void head_pointer(Base_tm* ptr){ - Base_tm *genTM = ptr; - while(ptr->next_TM != NULL) - { - ptr=ptr->next_TM; - } - ptr->next_TM = new Long_tm; - ptr = ptr->next_TM; - ptr->next_TM = NULL; - head_ptr = genTM ; + head_ptr = ptr ; type1_frame_flag = true; type0_frame_flag = true; make_DataStream_f = true;