This commit is contained in:
wu58430 2023-12-05 09:31:33 +08:00
parent 85a771383e
commit 8bc96bdc7c
2 changed files with 3 additions and 6 deletions

View file

@ -1182,8 +1182,7 @@ void APP_TimeSlice10ms(void)
if (gRxVfo->Modulation == MODULATION_AM && gSetting_AM_fix)
AM_fix_10ms(gEeprom.RX_VFO);
#endif
char a[2]="SB";
UART_Send((uint8_t *)&a,2);
if (UART_IsCommandAvailable())
{
char a[2]="OK";

View file

@ -514,11 +514,9 @@ bool UART_IsCommandAvailable(void)
return (CRC_Calculate(UART_Command.Buffer, Size) != CRC) ? false : true;
}
void UART_HandleCommand(void)
void UART_HandleCommand(void)
{
// volatile uint16_t CMD_ID=
switch (UART_Command.Header.ID)
switch (UART_Command.Header.ID)
{
case 0x0514:
CMD_0514(UART_Command.Buffer);