From 1f9d76141788c51f8fb893c9fbf8f63a21ca30ed Mon Sep 17 00:00:00 2001
From: zhyinch <zhyinch@gmail.com>
Date: 星期一, 21 六月 2021 16:04:14 +0800
Subject: [PATCH] 1.50 SFD模式修改

---
 源码/核心板/Src/application/serial_at_cmd_app.c |    3 ++-
 1 files changed, 2 insertions(+), 1 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 2993869..c81b079 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,11 +35,12 @@
 	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