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
85a771383e
commit
8bc96bdc7c
2 changed files with 3 additions and 6 deletions
|
@ -1182,8 +1182,7 @@ void APP_TimeSlice10ms(void)
|
||||||
if (gRxVfo->Modulation == MODULATION_AM && gSetting_AM_fix)
|
if (gRxVfo->Modulation == MODULATION_AM && gSetting_AM_fix)
|
||||||
AM_fix_10ms(gEeprom.RX_VFO);
|
AM_fix_10ms(gEeprom.RX_VFO);
|
||||||
#endif
|
#endif
|
||||||
char a[2]="SB";
|
|
||||||
UART_Send((uint8_t *)&a,2);
|
|
||||||
if (UART_IsCommandAvailable())
|
if (UART_IsCommandAvailable())
|
||||||
{
|
{
|
||||||
char a[2]="OK";
|
char a[2]="OK";
|
||||||
|
|
|
@ -514,10 +514,8 @@ 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)
|
void UART_HandleCommand(void)
|
||||||
{
|
{
|
||||||
// volatile uint16_t CMD_ID=
|
|
||||||
|
|
||||||
switch (UART_Command.Header.ID)
|
switch (UART_Command.Header.ID)
|
||||||
{
|
{
|
||||||
case 0x0514:
|
case 0x0514:
|
||||||
|
|
Loading…
Reference in a new issue