测试
This commit is contained in:
@ -26,6 +26,6 @@ void test_timegm(void)
|
||||
tm.tm_isdst = 0; // 不使用夏令时
|
||||
|
||||
timestamp = mktime(&tm);
|
||||
//rt_kprintf("时间戳: %ld\n", (long)timestamp);
|
||||
rt_kprintf("时间戳: %ld\n", (long)timestamp);
|
||||
}
|
||||
MSH_CMD_EXPORT(test_timegm, test timegm function);
|
||||
Reference in New Issue
Block a user