mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-20 15:08:37 +03:00
improve TX offset menu function
This commit is contained in:
23
app/app.c
23
app/app.c
@ -908,16 +908,19 @@ void APP_process_radio_interrupts(void)
|
||||
int_bits = BK4819_ReadRegister(0x02);
|
||||
|
||||
#if defined(ENABLE_UART) && defined(ENABLE_UART_DEBUG)
|
||||
{
|
||||
int i;
|
||||
UART_printf("int bits %04X %04X ", reg_c, int_bits);
|
||||
for (i = 15; i >= 0; i--)
|
||||
UART_printf("%c", (reg_c & (1u << i)) ? '#' : '.');
|
||||
UART_SendText(" ");
|
||||
for (i = 15; i >= 0; i--)
|
||||
UART_printf("%c", (int_bits & (1u << i)) ? '#' : '.');
|
||||
UART_SendText("\r\n");
|
||||
}
|
||||
#ifdef ENABLE_AIRCOPY
|
||||
if (g_current_display_screen != DISPLAY_AIRCOPY)
|
||||
#endif
|
||||
{
|
||||
int i;
|
||||
UART_printf("int bits %04X %04X ", reg_c, int_bits);
|
||||
for (i = 15; i >= 0; i--)
|
||||
UART_printf("%c", (reg_c & (1u << i)) ? '#' : '.');
|
||||
UART_SendText(" ");
|
||||
for (i = 15; i >= 0; i--)
|
||||
UART_printf("%c", (int_bits & (1u << i)) ? '#' : '.');
|
||||
UART_SendText("\r\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
if (int_bits & BK4819_REG_02_DTMF_5TONE_FOUND)
|
||||
|
Reference in New Issue
Block a user