This commit is contained in:
wu58430 2023-12-05 08:53:34 +08:00
parent 73b6153249
commit 9e72a9353a

View file

@ -516,8 +516,9 @@ bool UART_IsCommandAvailable(void)
void UART_HandleCommand(void)
{
volatile uint16_t CMD_ID=UART_Command.Header.ID;
// UART_Send((uint8_t *)&UART_Command.Header.ID,2);
switch (UART_Command.Header.ID)
switch (CMD_ID)
{
case 0x0514:
CMD_0514(UART_Command.Buffer);