From e01ac301154857dc4b1a1d6711e7ebeb87ea8e0c Mon Sep 17 00:00:00 2001 From: Riggin Date: Wed, 28 Jun 2023 17:26:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E6=A1=A3=E6=8B=BC?= =?UTF-8?q?=E5=86=99=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/zh/port/flash.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/zh/port/flash.md b/docs/zh/port/flash.md index 7823917..9242f91 100644 --- a/docs/zh/port/flash.md +++ b/docs/zh/port/flash.md @@ -36,7 +36,7 @@ ElogErrCode elog_flash_port_init(void) ### 3.2 Flash中的日志被读取后的输出接口 -将日志从Flash中读取后,调用`elog_flash_outout()`、`elog_flash_outout_all()`及`elog_flash_outout_recent()`进行输出展示时,将会调用此移植接口。可以在里面增加输出到终端、网络等功能。 +将日志从Flash中读取后,调用`elog_flash_output()`、`elog_flash_output_all()`及`elog_flash_output_recent()`进行输出展示时,将会调用此移植接口。可以在里面增加输出到终端、网络等功能。 ```C void elog_flash_port_output(const char *log, size_t size) @@ -75,7 +75,7 @@ void elog_flash_port_unlock(void) 配置时需要修改项目中的`elog_flash_cfg.h`文件,开启、关闭、修改对应的宏即可。 ### 4.1 缓冲模式 - + 开启后,需要写入Flash的日志会先存储至RAM缓冲区,当缓冲区满时,缓冲区中的所有日志将自动写入Flash。如果关闭,所有日志在输出时会立刻写入Flash。 - 默认状态:开启