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:
- 102:80c911a6e736
- Parent:
- 95:42d6747900cb
- Child:
- 118:60c5de4cb8ad
- Child:
- 128:a232a4352664
diff -r bece931236a2 -r 80c911a6e736 COM_SND_TM.h
--- a/COM_SND_TM.h Tue Jan 26 13:15:01 2016 +0000
+++ b/COM_SND_TM.h Fri Jan 29 17:09:41 2016 +0000
@@ -103,7 +103,7 @@
type0_no = 0;
type1_no = 0;
while(head != NULL){
- switch( GETshort_or_long_tm(head->fields) ){
+ switch( GETshort_or_long_tm(head) ){
case 0:
type0_no++;
break;
@@ -128,11 +128,11 @@
}
#define next_type_structure(ptr){\
- unsigned char temp = GETshort_or_long_tm(ptr->fields);\
+ unsigned char temp = GETshort_or_long_tm(ptr);\
if((temp == 0) && (ptr->next_TM != NULL) ){\
do{\
ptr = ptr->next_TM;\
- temp = GETshort_or_long_tm(ptr->fields);\
+ temp = GETshort_or_long_tm(ptr);\
}\
while(temp == 1 && ptr->next_TM != NULL);\
if(temp == 1){\
@@ -142,7 +142,7 @@
else if((temp == 1) && (ptr->next_TM != NULL)){\
do{\
ptr = ptr->next_TM;\
- temp = GETshort_or_long_tm(ptr->fields);\
+ temp = GETshort_or_long_tm(ptr);\
}\
while(temp == 0 && ptr->next_TM != NULL);\
if(temp == 0){\
@@ -165,7 +165,7 @@
#define first_type_structure( type,return_ptr) {\
Base_tm* temp_ptr = head_ptr;\
if(type == 0){\
- while(GETshort_or_long_tm(temp_ptr->fields) == 1){\
+ while(GETshort_or_long_tm(temp_ptr) == 1){\
temp_ptr = temp_ptr->next_TM;\
if(temp_ptr == NULL){\
return_ptr = NULL ;\
@@ -173,7 +173,7 @@
}\
}\
else if(type == 1){\
- while(GETshort_or_long_tm(temp_ptr->fields) == 0){\
+ while(GETshort_or_long_tm(temp_ptr) == 0){\
temp_ptr = temp_ptr->next_TM;\
if(temp_ptr == NULL){\
return_ptr = NULL;\
