!356 向启动打印中添加编译时间信息

Merge pull request !356 from Nrush/gitee_master
This commit is contained in:
bernard 2021-10-11 21:59:23 +00:00 committed by Gitee
commit 71f88fb501
1 changed files with 2 additions and 2 deletions

View File

@ -546,8 +546,8 @@ void rt_show_version(void)
{
rt_kprintf("\n \\ | /\n");
rt_kprintf("- RT - Thread Operating System\n");
rt_kprintf(" / | \\ %d.%d.%d build %s\n",
RT_VERSION, RT_SUBVERSION, RT_REVISION, __DATE__);
rt_kprintf(" / | \\ %d.%d.%d build %s %s\n",
RT_VERSION, RT_SUBVERSION, RT_REVISION, __DATE__, __TIME__);
rt_kprintf(" 2006 - 2021 Copyright by rt-thread team\n");
}
RTM_EXPORT(rt_show_version);