mirror of
https://github.com/DualTachyon/uv-k5-firmware.git
synced 2025-01-18 17:03:58 +08:00
Removed redundant check.
This commit is contained in:
parent
8b808f2bf0
commit
33f9f21c4f
@ -88,7 +88,6 @@ void MAIN_Key_DIGITS(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
|
||||
|
||||
for (i = 0; i < 7; i++) {
|
||||
if (Frequency <= gUpperLimitFrequencyBandTable[i] && (gLowerLimitFrequencyBandTable[i] <= Frequency)) {
|
||||
if (i < 7) {
|
||||
gAnotherVoiceID = (VOICE_ID_t)Key;
|
||||
if (gTxInfo->Band != i) {
|
||||
gTxInfo->Band = i;
|
||||
@ -106,8 +105,6 @@ void MAIN_Key_DIGITS(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
|
||||
gRequestSaveChannel = 1;
|
||||
return;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user