diff -r 94f2adf59133 -r b2826f67641f kerneltest/f32test/shostmassstorage/msman/shared/debug.h --- a/kerneltest/f32test/shostmassstorage/msman/shared/debug.h Tue Oct 26 11:12:58 2010 +0100 +++ b/kerneltest/f32test/shostmassstorage/msman/shared/debug.h Tue Oct 26 12:49:20 2010 +0100 @@ -88,7 +88,21 @@ #define __USBHOSTPRINT5(t,a,b,c,d,e) #endif +#if defined(_USBMS_DEBUG_PRINT_) && (defined(_DEBUG) || defined(_DEBUG_RELEASE)) +#define __PRINT(t) {RDebug::Print(t);} +#define __PRINT1(t,a) {RDebug::Print(t,a);} +#define __PRINT2(t,a,b) {RDebug::Print(t,a,b);} +#define __PRINT3(t,a,b,c) {RDebug::Print(t,a,b,c);} +#define __PRINT4(t,a,b,c,d) {RDebug::Print(t,a,b,c,d);} +#else +#define __PRINT(t) +#define __PRINT1(t,a) +#define __PRINT2(t,a,b) +#define __PRINT3(t,a,b,c) +#define __PRINT4(t,a,b,c,d) + +#endif #endif // DEBUG_H