mirror of
https://github.com/silenty4ng/uv-k5-firmware-chinese-lts
synced 2025-01-15 14:54:40 +00:00
写频
This commit is contained in:
parent
9e72a9353a
commit
a4015c1c6b
1 changed files with 4 additions and 4 deletions
|
@ -514,11 +514,11 @@ bool UART_IsCommandAvailable(void)
|
||||||
return (CRC_Calculate(UART_Command.Buffer, Size) != CRC) ? false : true;
|
return (CRC_Calculate(UART_Command.Buffer, Size) != CRC) ? false : true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void UART_HandleCommand(void)
|
volatile void UART_HandleCommand(void)
|
||||||
{
|
{
|
||||||
volatile uint16_t CMD_ID=UART_Command.Header.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 (CMD_ID)
|
switch (UART_Command.Header.ID)
|
||||||
{
|
{
|
||||||
case 0x0514:
|
case 0x0514:
|
||||||
CMD_0514(UART_Command.Buffer);
|
CMD_0514(UART_Command.Buffer);
|
||||||
|
|
Loading…
Reference in a new issue