equal
deleted
inserted
replaced
1 #ifndef ECDBG_H_ |
|
2 #define ECDBG_H_ |
|
3 |
|
4 |
|
5 //#define DEBUG_SEND_RECEIVE |
|
6 #define ECMASTER_DEBUG |
|
7 |
|
8 |
|
9 //#include "../rs232dbg/rs232dbg.h" |
|
10 |
|
11 |
|
12 #ifdef ECMASTER_DEBUG |
|
13 /* note: prints function name for you */ |
|
14 //# define EC_DBG(fmt, args...) SDBG_print(fmt, ## args) |
|
15 |
|
16 //#define EC_DBG(fmt, args...) SDBG_print("%s: " fmt, __FUNCTION__ , ## args) |
|
17 #define EC_DBG(fmt, args...) printk(fmt, ## args) |
|
18 #else |
|
19 #define EC_DBG(fmt, args...) |
|
20 #endif |
|
21 |
|
22 |
|
23 #endif |
|