From 06140ee13c6c1195943c868d0f7d84538c4ba3f4 Mon Sep 17 00:00:00 2001 From: wu58430 Date: Tue, 5 Dec 2023 09:01:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=99=E9=A2=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/uart.c b/app/uart.c index 02417b2..f0b05ce 100644 --- a/app/uart.c +++ b/app/uart.c @@ -517,7 +517,7 @@ bool UART_IsCommandAvailable(void) void UART_HandleCommand(void) { // volatile uint16_t CMD_ID= - UART_Send((uint8_t *)&UART_Command.Header.ID,2); + UART_Send((uint8_t *)&UART_Command.Header.ID,1); switch (UART_Command.Header.ID) { case 0x0514: