86 #define __USBHOSTPRINT4(t,a,b,c,d) |
86 #define __USBHOSTPRINT4(t,a,b,c,d) |
87 /** NULL definition */ |
87 /** NULL definition */ |
88 #define __USBHOSTPRINT5(t,a,b,c,d,e) |
88 #define __USBHOSTPRINT5(t,a,b,c,d,e) |
89 #endif |
89 #endif |
90 |
90 |
|
91 #if defined(_USBMS_DEBUG_PRINT_) && (defined(_DEBUG) || defined(_DEBUG_RELEASE)) |
|
92 #define __PRINT(t) {RDebug::Print(t);} |
|
93 #define __PRINT1(t,a) {RDebug::Print(t,a);} |
|
94 #define __PRINT2(t,a,b) {RDebug::Print(t,a,b);} |
|
95 #define __PRINT3(t,a,b,c) {RDebug::Print(t,a,b,c);} |
|
96 #define __PRINT4(t,a,b,c,d) {RDebug::Print(t,a,b,c,d);} |
91 |
97 |
92 |
98 |
|
99 #else |
|
100 #define __PRINT(t) |
|
101 #define __PRINT1(t,a) |
|
102 #define __PRINT2(t,a,b) |
|
103 #define __PRINT3(t,a,b,c) |
|
104 #define __PRINT4(t,a,b,c,d) |
|
105 |
|
106 #endif |
93 |
107 |
94 #endif // DEBUG_H |
108 #endif // DEBUG_H |