From 37fcfdb9726df496b958e3d1d5d5e487ec1c72a6 Mon Sep 17 00:00:00 2001 From: Jiang Runnan Date: Thu, 21 Jul 2022 10:41:53 +0800 Subject: [PATCH] Solve the problem that LOG_W() may not be recognized when the INPUT CAPTURE module is enabled,which may cause the compilation failure. --- components/drivers/misc/rt_inputcapture.c | 4 ++++ 1 file changed, 4 insertions(+) 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 +#define DBG_TAG "incap" +#define DBG_LVL DBG_WARNING +#include + static rt_err_t rt_inputcapture_init(struct rt_device *dev) { rt_err_t ret; -- GitLab