Merge pull request #4535 from mysterywolf/time

[libc][time] add debug tag
This commit is contained in:
Bernard Xiong 2021-03-28 17:50:43 +08:00 committed by GitHub
commit fefeff8de1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

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