mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-08 14:43:04 +08:00
Merge pull request #4535 from mysterywolf/time
[libc][time] add debug tag
This commit is contained in:
1 file changed
+5
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user