From a33e16c68f4bd99fe74e5ae47aa5fdcb762071c2 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期二, 06 四月 2021 12:12:38 +0800 Subject: [PATCH] 增加独立看门狗,修改恢复出厂设置方式 --- 源码/核心板/Src/application/serial_at_cmd_app.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/serial_at_cmd_app.c" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/serial_at_cmd_app.c" index c81b079..2993869 100644 --- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/serial_at_cmd_app.c" +++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/serial_at_cmd_app.c" @@ -35,12 +35,11 @@ send_frame[3] = 8; send_frame[4] = pack_msgtype; send_frame[5] = pack_length; -OUT485_ENABLE; + checksum = Checksum_u16(&send_frame[2],8); memcpy(&send_frame[10],&checksum,2); USART_puts(send_frame, 12); - OUT485_DISABLE; } void SendComMap(uint8_t data_length, uint8_t index) { -- Gitblit v1.9.3