grand final code bro include all the headers in the same order as it is used in main and remove mai and just call snd_tm.head_point( TM_list *);
structures.h
00001 typedef struct TC_list{ 00002 // received from the RCV_TC 00003 unsigned char *TC_string; 00004 bool short_or_long; //'true' for short 00005 bool crc_pass; 00006 00007 // updated info - updated in MNG_TC 00008 unsigned char packet_seq_count; 00009 unsigned char apid; 00010 bool abort_on_nack; 00011 bool enabled; 00012 bool valid_execution; 00013 00014 struct TC_list *next_TC; 00015 00016 ~TC_list(){} 00017 }TC_list; 00018 00019 typedef struct TM_list{ 00020 00021 unsigned char *TM_string; 00022 // bool short_or_long; // true for short 00023 // pass while calling the function 00024 unsigned char tmid; 00025 int number; 00026 struct TM_list *next_TM; 00027 00028 ~TM_list(){} 00029 }TM_List; 00030
Generated on Wed Jul 27 2022 02:57:42 by
1.7.2