0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 06:39:49 +03:00

squelch closing when '0' fix

This commit is contained in:
OneOfEleven
2024-01-08 13:39:43 +00:00
parent dbf1468757
commit 8d16e7d319
8 changed files with 100 additions and 48 deletions

View File

@ -957,6 +957,7 @@ void APP_process_radio_interrupts(void)
// { // VOX
// }
#if 0
if (reg_c & (1u << 1))
{ // squelch is open
if (!g_squelch_open)
@ -988,6 +989,7 @@ void APP_process_radio_interrupts(void)
g_update_display = true;
}
}
#endif
// #ifdef ENABLE_CTCSS_TAIL_PHASE_SHIFT
// if (((reg_c >> 12) & 3u) > 0)
@ -1149,7 +1151,8 @@ void APP_process_radio_interrupts(void)
#endif
}
#endif
/*
#if 1
if (int_bits & BK4819_REG_02_SQUELCH_CLOSED)
{
g_squelch_open = false;
@ -1185,7 +1188,8 @@ void APP_process_radio_interrupts(void)
g_update_display = true;
}
*/
#endif
#ifdef ENABLE_MDC1200
MDC1200_process_rx(int_bits);
#endif

View File

@ -433,7 +433,7 @@ void MENU_AcceptSetting(void)
case MENU_SQL:
g_eeprom.config.setting.squelch_level = g_sub_menu_selection;
RADIO_ConfigureSquelch(g_tx_vfo);
g_vfo_configure_mode = VFO_CONFIGURE;
g_vfo_configure_mode = VFO_CONFIGURE;
break;
case MENU_CHAN_SQL: