We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 169b090 commit a74b0aeCopy full SHA for a74b0ae
components/libc/compilers/common/time.c
@@ -29,7 +29,7 @@
29
#include <rtdevice.h>
30
#endif
31
32
-#define DBG_TAG "TIME"
+#define DBG_TAG "time"
33
#define DBG_LVL DBG_INFO
34
#include <rtdbg.h>
35
@@ -242,7 +242,7 @@ char* asctime_r(const struct tm *t, char *buf)
242
/* Checking input validity */
243
if (rt_strlen(days) <= (t->tm_wday << 2) || rt_strlen(months) <= (t->tm_mon << 2))
244
{
245
- LOG_W("The input exceeded the limit, please check it.");
+ LOG_W("asctime_r: the input parameters exceeded the limit, please check it.");
246
*(int*) buf = *(int*) days;
247
*(int*) (buf + 4) = *(int*) months;
248
num2str(buf + 8, t->tm_mday);
0 commit comments