From 87fe2ff0a507923acf3bb416737cafdfb52f0c6d Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期二, 13 四月 2021 14:29:54 +0800 Subject: [PATCH] V1.45 负数不输出 --- 源码/核心板/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