Clean SCRAMBLER again...and save 200 octets

This commit is contained in:
Armel FAUVEAU
2024-02-10 00:52:39 +01:00
parent 3cecf8b975
commit 5fadf4c6f3
4 changed files with 17 additions and 1 deletions

View File

@@ -1866,10 +1866,14 @@ static void ProcessKey(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
BK4819_ExitDTMF_TX(false);
#ifndef ENABLE_FEAT_F4HWN
if (gCurrentVfo->SCRAMBLING_TYPE == 0 || !gSetting_ScrambleEnable)
BK4819_DisableScramble();
else
BK4819_EnableScramble(gCurrentVfo->SCRAMBLING_TYPE - 1);
#else
BK4819_DisableScramble();
#endif
}
}
else {