diff options
| author | armink <[email protected]> | 2019-04-12 10:18:57 +0800 |
|---|---|---|
| committer | armink <[email protected]> | 2019-04-12 10:18:57 +0800 |
| commit | fa4d4ab7cf774ccb701d01a6fd1371ce8d9474e9 (patch) | |
| tree | 89cb48115a065516808cc8b0d6402b9924e06c4c /components/drivers/wlan/wlan_dev.c | |
| parent | 35bb75b96bb793e12b267cf987a2bf47f34d6510 (diff) | |
Update all of debug log definition to DBG_TAG and DBG_LVL.
Diffstat (limited to 'components/drivers/wlan/wlan_dev.c')
| -rw-r--r-- | components/drivers/wlan/wlan_dev.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/drivers/wlan/wlan_dev.c b/components/drivers/wlan/wlan_dev.c index 3f4adf35ad..82fa4e73e7 100644 --- a/components/drivers/wlan/wlan_dev.c +++ b/components/drivers/wlan/wlan_dev.c @@ -13,12 +13,12 @@ #include <wlan_dev.h> #include <wlan_prot.h> +#define DBG_TAG "WLAN.dev" #ifdef RT_WLAN_DEV_DEBUG -#define DBG_LEVEL DBG_LOG +#define DBG_LVL DBG_LOG #else -#define DBG_LEVEL DBG_INFO -#endif -#define DBG_SECTION_NAME "WLAN.dev" +#define DBG_LVL DBG_INFO +#endif /* RT_WLAN_DEV_DEBUG */ #include <rtdbg.h> #ifndef RT_DEVICE |
