From a584b8ba6b6f137480e47eead44d40938e8e6774 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Sun, 28 Mar 2021 10:32:20 +0800 Subject: [PATCH] [libc][time] add debug tag --- components/libc/compilers/common/time.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/libc/compilers/common/time.c b/components/libc/compilers/common/time.c index 286a173347..83b6ed5672 100644 --- a/components/libc/compilers/common/time.c +++ b/components/libc/compilers/common/time.c @@ -21,11 +21,15 @@ #include #include -#include + #ifdef RT_USING_DEVICE #include #endif +#define DBG_TAG "TIME" +#define DBG_LVL DBG_INFO +#include + /* seconds per day */ #define SPD 24*60*60