c c++ debug打印调试的使用 do{}while
#define DLOG(fmt, args...) printk(fmt, ##args)
#define _DPRINT_
#ifdef _DPRINT_
//#define dprint(fmt, arg...) LOGI(fmt, ##arg)
#include <android/log.h>
#define LOG_TAG "dx210hal"
#define dprint(...) __android_log_print(ANDROID_LOG_INFO,LOG_TAG,__VA_ARGS__)
#else
#define dprint(fmt, arg...)
#endif
#define Print(x, y) do{printf("%d\n", x); printf("%d\n", y)}while((0)