76 #endif |
76 #endif |
77 |
77 |
78 /* Definition of MSG_ERR */ |
78 /* Definition of MSG_ERR */ |
79 /* --------------------- */ |
79 /* --------------------- */ |
80 #ifdef DEBUG_ERR_CONSOLE_ON |
80 #ifdef DEBUG_ERR_CONSOLE_ON |
81 # define MSG_ERR(num, str, val)/* \ |
81 # define MSG_ERR(num, str, val) \ |
82 printf("%s,%d : 0X%x %s 0X%x \n",__FILE__, __LINE__,num, str, val);*/ |
82 printf("%s,%d : 0X%x %s 0X%x \n",__FILE__, __LINE__,num, str, val); |
83 #else |
83 #else |
84 # define MSG_ERR(num, str, val) |
84 # define MSG_ERR(num, str, val) |
85 #endif |
85 #endif |
86 |
86 |
87 /* Definition of MSG_WAR */ |
87 /* Definition of MSG_WAR */ |
88 /* --------------------- */ |
88 /* --------------------- */ |
89 #ifdef DEBUG_WAR_CONSOLE_ON |
89 #ifdef DEBUG_WAR_CONSOLE_ON |
90 # define MSG_WAR(num, str, val)/* \ |
90 # define MSG_WAR(num, str, val) \ |
91 printf("%s,%d : 0X%x %s 0X%x \n",__FILE__, __LINE__,num, str, val);*/ |
91 printf("%s,%d : 0X%x %s 0X%x \n",__FILE__, __LINE__,num, str, val); |
92 #else |
92 #else |
93 # define MSG_WAR(num, str, val) |
93 # define MSG_WAR(num, str, val) |
94 #endif |
94 #endif |
95 |
95 |
96 typedef void* CAN_HANDLE; |
96 typedef void* CAN_HANDLE; |