diff options
| author | a1012112796 <[email protected]> | 2019-11-26 07:41:43 +0800 |
|---|---|---|
| committer | a1012112796 <[email protected]> | 2019-11-26 07:41:43 +0800 |
| commit | ab981a32b54b5be3426bbf7f6caf62624714daf4 (patch) | |
| tree | 5236e93ab1e4e24508d4ebf4540b6743dd7c9a41 /components/drivers/include | |
| parent | 86e61ddfc342456df16d4d3d279d0f271c762349 (diff) | |
[Device/I2C] Chang debug message print way to ulog
Diffstat (limited to 'components/drivers/include')
| -rw-r--r-- | components/drivers/include/drivers/i2c.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/components/drivers/include/drivers/i2c.h b/components/drivers/include/drivers/i2c.h index c6376efa89..17d57288cd 100644 --- a/components/drivers/include/drivers/i2c.h +++ b/components/drivers/include/drivers/i2c.h @@ -67,12 +67,6 @@ struct rt_i2c_client rt_uint16_t client_addr; }; -#ifdef RT_I2C_DEBUG -#define i2c_dbg(fmt, ...) rt_kprintf(fmt, ##__VA_ARGS__) -#else -#define i2c_dbg(fmt, ...) -#endif - rt_err_t rt_i2c_bus_device_register(struct rt_i2c_bus_device *bus, const char *bus_name); struct rt_i2c_bus_device *rt_i2c_bus_device_find(const char *bus_name); |
