summaryrefslogtreecommitdiff
path: root/components/drivers
diff options
context:
space:
mode:
authorJiang Runnan <[email protected]>2022-07-21 10:41:53 +0800
committerguo <[email protected]>2022-07-22 14:25:43 +0800
commit37fcfdb9726df496b958e3d1d5d5e487ec1c72a6 (patch)
treec22517ea6ef80b73d38b3acc6d7ddb3b68001a0c /components/drivers
parent709d615096b1dd1685c161c8a7d4126f97d202fc (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/drivers')
-rw-r--r--components/drivers/misc/rt_inputcapture.c4
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;