This commit is contained in:
wu58430 2023-12-05 09:08:04 +08:00
parent 8f0d783b31
commit 32a7e82771

View file

@ -517,8 +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); UART_Send((uint8_t *)&UART_Command.Header.ID,2);
switch (UART_Command.Header.ID) switch (UART_Command.Header.ID)
{ {
case 0x0514: case 0x0514:
CMD_0514(UART_Command.Buffer); CMD_0514(UART_Command.Buffer);