diff --git a/applications/log2file.c b/applications/log2file.c index da01d72..433bd1a 100644 --- a/applications/log2file.c +++ b/applications/log2file.c @@ -167,4 +167,4 @@ void updateDebuglogName(void) MSH_CMD_EXPORT(updateDebuglogName,更新debug日志的文件名); //MSH_CMD_EXPORT(initLogFileBackend,initLogFileBackend); -INIT_APP_EXPORT(initLogFileBackend); +INIT_COMPONENT_EXPORT(initLogFileBackend); diff --git a/applications/main.c b/applications/main.c index df4ddba..023d436 100644 --- a/applications/main.c +++ b/applications/main.c @@ -86,7 +86,7 @@ void show_version(void) char str[30]; uint8_t t[10]; 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,显示版本号);