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
108638169a
commit
85a771383e
2 changed files with 5 additions and 3 deletions
|
@ -1182,9 +1182,12 @@ 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";
|
||||||
|
UART_Send((uint8_t *)&a,2);
|
||||||
__disable_irq();
|
__disable_irq();
|
||||||
UART_HandleCommand();
|
UART_HandleCommand();
|
||||||
__enable_irq();
|
__enable_irq();
|
||||||
|
|
|
@ -517,8 +517,7 @@ bool UART_IsCommandAvailable(void)
|
||||||
void UART_HandleCommand(void)
|
void UART_HandleCommand(void)
|
||||||
{
|
{
|
||||||
// volatile uint16_t CMD_ID=
|
// volatile uint16_t CMD_ID=
|
||||||
char a[2]="OK";
|
|
||||||
UART_Send((uint8_t *)&a,2);
|
|
||||||
switch (UART_Command.Header.ID)
|
switch (UART_Command.Header.ID)
|
||||||
{
|
{
|
||||||
case 0x0514:
|
case 0x0514:
|
||||||
|
|
Loading…
Reference in a new issue