diff options
| author | armink <[email protected]> | 2019-03-06 17:07:15 +0800 |
|---|---|---|
| committer | armink <[email protected]> | 2019-03-06 17:54:30 +0800 |
| commit | 0d7ba79219f939ad0dc55eb70872e11c950b0da8 (patch) | |
| tree | fe8f73a1822d3cdbdd939159023023d9dff3a882 /components/drivers/sdio/block_dev.c | |
| parent | 85a0aaa3c2dc2f563ca25a91a00c033eddbb78d2 (diff) | |
Remove the DBG_COLOR and DBG_ENABLE definition.
Diffstat (limited to 'components/drivers/sdio/block_dev.c')
| -rw-r--r-- | components/drivers/sdio/block_dev.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/components/drivers/sdio/block_dev.c b/components/drivers/sdio/block_dev.c index 23be319fc6..dcfbc0ca7b 100644 --- a/components/drivers/sdio/block_dev.c +++ b/components/drivers/sdio/block_dev.c @@ -13,14 +13,12 @@ #include <drivers/mmcsd_core.h> -#define DBG_ENABLE #define DBG_SECTION_NAME "SDIO" #ifdef RT_SDIO_DEBUG #define DBG_LEVEL DBG_LOG #else #define DBG_LEVEL DBG_INFO #endif /* RT_SDIO_DEBUG */ -#define DBG_COLOR #include <rtdbg.h> static rt_list_t blk_devices = RT_LIST_OBJECT_INIT(blk_devices); @@ -369,7 +367,7 @@ rt_int32_t rt_mmcsd_blk_probe(struct rt_mmcsd_card *card) return err; } - LOG_I("probe mmcsd block device!"); + LOG_D("probe mmcsd block device!"); /* get the first sector to read partition table */ sector = (rt_uint8_t *)rt_malloc(SECTOR_SIZE); |
