Customized SNICInterface
Fork of NySNICInterface by
Diff: SNIC/MurataObject.h
- Revision:
- 40:b6b10c22a121
- Parent:
- 39:a1233ca02edf
- Child:
- 41:1c1b5ad4d491
diff -r a1233ca02edf -r b6b10c22a121 SNIC/MurataObject.h --- a/SNIC/MurataObject.h Tue Jul 15 02:08:42 2014 +0000 +++ b/SNIC/MurataObject.h Tue Jul 15 09:56:37 2014 +0000 @@ -20,6 +20,14 @@ #define _MURATA_OBJECT_H_ #include "mbed.h" +//#define _DEBUG /* If this definition is enabled, debug log is output. */ + +#ifdef _DEBUG +#define DEBUG_PRINT(...) { pc.printf(__VA_ARGS__);} +#else +#define DEBUG_PRINT(...) +#endif + class C_MurataObject{ };