log2file 更新为INIT_COMPONENT_EXPORT
更新版本号
This commit is contained in:
parent
bb6a998ede
commit
dee416d2af
@ -167,4 +167,4 @@ void updateDebuglogName(void)
|
|||||||
|
|
||||||
MSH_CMD_EXPORT(updateDebuglogName,更新debug日志的文件名);
|
MSH_CMD_EXPORT(updateDebuglogName,更新debug日志的文件名);
|
||||||
//MSH_CMD_EXPORT(initLogFileBackend,initLogFileBackend);
|
//MSH_CMD_EXPORT(initLogFileBackend,initLogFileBackend);
|
||||||
INIT_APP_EXPORT(initLogFileBackend);
|
INIT_COMPONENT_EXPORT(initLogFileBackend);
|
||||||
|
@ -86,7 +86,7 @@ void show_version(void)
|
|||||||
char str[30];
|
char str[30];
|
||||||
uint8_t t[10];
|
uint8_t t[10];
|
||||||
size_t len=time2Byte(t);
|
size_t len=time2Byte(t);
|
||||||
rt_kprintf("SW Version: %s, build-%s\n","2.53d",bytes2str(t, 3, 10, "", str));
|
rt_kprintf("SW Version: %s, build-%s\n","2.54d",bytes2str(t, 3, 10, "", str));
|
||||||
}
|
}
|
||||||
|
|
||||||
MSH_CMD_EXPORT(show_version,显示版本号);
|
MSH_CMD_EXPORT(show_version,显示版本号);
|
||||||
|
Loading…
Reference in New Issue
Block a user