This commit is contained in:
wu58430 2023-12-05 09:16:17 +08:00
parent 32a7e82771
commit 108638169a

View file

@ -517,7 +517,8 @@ bool UART_IsCommandAvailable(void)
void UART_HandleCommand(void) void UART_HandleCommand(void)
{ {
// volatile uint16_t CMD_ID= // 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) switch (UART_Command.Header.ID)
{ {
case 0x0514: case 0x0514: