From 1b783d20cd9c53fada9c7855ed2b903399285de7 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期四, 21 三月 2024 14:52:30 +0800 Subject: [PATCH] V1.11尝试解决标签回复出厂设置BUG 1.去掉开机判断55AA标志位 2.map表2校验,不对就重启 --- Src/application/serial_at_cmd_app.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/Src/application/serial_at_cmd_app.c b/Src/application/serial_at_cmd_app.c index 611b493..cd27956 100644 --- a/Src/application/serial_at_cmd_app.c +++ b/Src/application/serial_at_cmd_app.c @@ -63,9 +63,7 @@ } if(index == 2*CNT_REBOOT) { - g_com_map[CNT_REBOOT]=0; - g_com_map[MAP_SIGN_INDEX]=0; - save_com_map_to_flash(); + ReturnFactorySettings(); delay_ms(100); SCB->AIRCR = 0X05FA0000|(unsigned int)0x04; //软复位回到bootloader } -- Gitblit v1.9.3