Sakura IoT Platform b
Fork of SakuraIO by
SakuraIO/debug.h
- Committer:
- spiralray
- Date:
- 2016-11-19
- Revision:
- 0:8d34375d954c
- Child:
- 3:c54a1eba22c4
File content as of revision 0:8d34375d954c:
#ifndef __SAKURA_IO_DEBUG_H__ #define __SAKURA_IO_DEBUG_H__ #if defined(SAKURA_DEBUG) #define dbg(...) printf(__VA_ARGS__) #define dbgln(...) DEBUG_PRINTF_LN(__VA_ARGS__, "\r\n") #define DEBUG_PRINTF_LN(type, fmt, ...) printf(fmt "%s", __VA_ARGS__) #else #define dbg(...) #define dbgln(...) #endif #endif //__SAKURA_IO_DEBUG_H__