From 47d2701b9408e1b904d89ebd58d6496fbc9f58ed Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期日, 07 三月 2021 10:03:03 +0800 Subject: [PATCH] V1.41 负数不输出 修改回复485无显示BUG --- 源码/核心板/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