中级会员
 
- 积分
- 330
- 金钱
- 330
- 注册时间
- 2017-8-24
- 在线时间
- 75 小时
|

楼主 |
发表于 2017-10-18 09:35:44
|
显示全部楼层
enum {
TRACE_FUNCTION_NONE = 0,
TRACE_FUNCTION_I2C = 1,
TRACE_FUNCTION_ALL = 0x7fffffff //all bits except sign
};
enum {
TRACE_MODULE_NONE = 0x0,
TRACE_MODULE_API = 0x1,
TRACE_MODULE_PLATFORM = 0x2,
TRACE_MODULE_ALL = 0x7fffffff //all bits except sign
};
#define VL53L0X_ErrLog(...) (void)0
#define _LOG_FUNCTION_START(module, fmt, ... ) (void)0
#define _LOG_FUNCTION_END(module, status, ... ) (void)0
#define _LOG_FUNCTION_END_FMT(module, status, fmt, ... ) (void)0
#define VL53L0X_COPYSTRING(str, ...) strcpy(str, __VA_ARGS__) |
|