Cosmetic changes.

This commit is contained in:
Dual Tachyon 2023-08-28 13:37:49 +01:00
parent e9bf76c3cf
commit 8bce5a56f4
2 changed files with 3 additions and 3 deletions

View File

@ -1447,7 +1447,7 @@ void APP_ChangeStepDirectionMaybe(bool bFlag, int8_t Direction)
}
FUN_00007dd4();
} else {
if (bFlag == 1) {
if (bFlag) {
g_20000418 = gInfoCHAN_A->DCS[0].Frequency;
}
APP_MoreRadioStuff();

View File

@ -248,7 +248,7 @@ void MAIN_Key_UP_DOWN(bool bKeyPressed, bool bKeyHeld, int8_t Direction)
Channel = gEeprom.ScreenChannel[gEeprom.TX_CHANNEL];
if (bKeyHeld || !bKeyPressed) {
if (gNumberOffset != 0) {
if (gNumberOffset) {
return;
}
if (!bKeyPressed) {
@ -263,7 +263,7 @@ void MAIN_Key_UP_DOWN(bool bKeyPressed, bool bKeyHeld, int8_t Direction)
return;
}
} else {
if (gNumberOffset != 0) {
if (gNumberOffset) {
gBeepToPlay = BEEP_500HZ_60MS_DOUBLE_BEEP_OPTIONAL;
return;
}