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
604ab84c99
commit
cca5ffeeec
1 changed files with 1 additions and 0 deletions
|
@ -332,6 +332,7 @@ void ACTION_Handle(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
|
||||||
|
|
||||||
#ifdef ENABLE_SIDEFUNCTIONS_SEND
|
#ifdef ENABLE_SIDEFUNCTIONS_SEND
|
||||||
if(funcShort == ACTION_OPT_SEND_A || funcShort == ACTION_OPT_SEND_B || funcShort == ACTION_OPT_SEND_OTHER){
|
if(funcShort == ACTION_OPT_SEND_A || funcShort == ACTION_OPT_SEND_B || funcShort == ACTION_OPT_SEND_OTHER){
|
||||||
|
gBeepToPlay = BEEP_NONE;
|
||||||
gFlagLastVfo = gEeprom.TX_VFO;
|
gFlagLastVfo = gEeprom.TX_VFO;
|
||||||
gEeprom.TX_VFO = funcShort == ACTION_OPT_SEND_OTHER ? !gFlagLastVfo : funcShort == ACTION_OPT_SEND_A ? 0 : 1;
|
gEeprom.TX_VFO = funcShort == ACTION_OPT_SEND_OTHER ? !gFlagLastVfo : funcShort == ACTION_OPT_SEND_A ? 0 : 1;
|
||||||
gFlagReconfigureVfos = true;
|
gFlagReconfigureVfos = true;
|
||||||
|
|
Loading…
Reference in a new issue