0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-20 15:08:37 +03:00

update mic gain code

This commit is contained in:
OneOfEleven
2023-10-30 16:28:41 +00:00
parent 1517cfc655
commit e63672521c
14 changed files with 136 additions and 101 deletions

View File

@ -660,7 +660,9 @@ void MENU_AcceptSetting(void)
case MENU_MIC_GAIN:
g_eeprom.mic_sensitivity = g_sub_menu_selection;
BOARD_eeprom_loadCalibration();
// BOARD_eeprom_loadCalibration();
g_eeprom.mic_sensitivity_tuning = g_mic_gain_dB_2[g_eeprom.mic_sensitivity];
BK4819_set_mic_gain(g_eeprom.mic_sensitivity_tuning);
g_flag_reconfigure_vfos = true;
break;