Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: COM_SND_TM.h
- Revision:
- 29:f4c59f7285a2
- Parent:
- 27:f408ea06fcab
- Child:
- 30:154938956d89
--- 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;
