Merge pull request #4535 from mysterywolf/time

[libc][time] add debug tag
This commit is contained in:
Bernard Xiong authored and GitHub committed 2021-03-28 17:50:43 +08:00
commit fefeff8de1
1 file changed
+5 -1
+5 -1
View File
@@ -21,11 +21,15 @@
#include <sys/time.h>
#include <rtthread.h>
#include <rtdbg.h>
#ifdef RT_USING_DEVICE
#include <rtdevice.h>
#endif
#define DBG_TAG "TIME"
#define DBG_LVL DBG_INFO
#include <rtdbg.h>
/* seconds per day */
#define SPD 24*60*60