diff options
| author | Jiang Runnan <[email protected]> | 2022-07-21 10:41:53 +0800 |
|---|---|---|
| committer | guo <[email protected]> | 2022-07-22 14:25:43 +0800 |
| commit | 37fcfdb9726df496b958e3d1d5d5e487ec1c72a6 (patch) | |
| tree | c22517ea6ef80b73d38b3acc6d7ddb3b68001a0c /components | |
| parent | 709d615096b1dd1685c161c8a7d4126f97d202fc (diff) | |
Solve the problem that LOG_W() may not be recognized when the INPUT CAPTURE module is enabled,which may cause the compilation failure.
Diffstat (limited to 'components')
| -rw-r--r-- | components/drivers/misc/rt_inputcapture.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/drivers/misc/rt_inputcapture.c b/components/drivers/misc/rt_inputcapture.c index 7e25a0411d..c7a9edaaf6 100644 --- a/components/drivers/misc/rt_inputcapture.c +++ b/components/drivers/misc/rt_inputcapture.c @@ -10,6 +10,10 @@ #include <rtdevice.h> +#define DBG_TAG "incap" +#define DBG_LVL DBG_WARNING +#include <rtdbg.h> + static rt_err_t rt_inputcapture_init(struct rt_device *dev) { rt_err_t ret; |
