From 108638169ab877ffcbce1a61ac797e1a2521e5f6 Mon Sep 17 00:00:00 2001 From: wu58430 Date: Tue, 5 Dec 2023 09:16:17 +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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/uart.c b/app/uart.c index f0cb0fe..adceba5 100644 --- a/app/uart.c +++ b/app/uart.c @@ -517,7 +517,8 @@ bool UART_IsCommandAvailable(void) void UART_HandleCommand(void) { // volatile uint16_t CMD_ID= - UART_Send((uint8_t *)&UART_Command.Header.ID,2); +char a[2]="OK"; + UART_Send((uint8_t *)&a,2); switch (UART_Command.Header.ID) { case 0x0514: