From dee416d2af4ee7381da332c7c9bca7ace3df805e Mon Sep 17 00:00:00 2001 From: "CSSC-WORK\\murmur" Date: Thu, 28 Sep 2023 10:26:01 +0800 Subject: [PATCH] =?UTF-8?q?log2file=20=E6=9B=B4=E6=96=B0=E4=B8=BAINIT=5FCO?= =?UTF-8?q?MPONENT=5FEXPORT=20=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- applications/log2file.c | 2 +- applications/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,显示版本号);