Remove Tx200, Tx350 and Tx500 menus (obsolete with the new TXLock)

This commit is contained in:
Armel FAUVEAU
2024-09-26 00:22:36 +02:00
parent 884beecdc4
commit 91cb12f0f9
7 changed files with 46 additions and 5 deletions

View File

@@ -175,15 +175,23 @@ int32_t TX_freq_check(const uint32_t Frequency)
if (Frequency >= frequencyBandTable[BAND3_137MHz].lower && Frequency < frequencyBandTable[BAND3_137MHz].upper)
return 0;
if (Frequency >= frequencyBandTable[BAND4_174MHz].lower && Frequency < frequencyBandTable[BAND4_174MHz].upper)
#ifndef ENABLE_FEAT_F4HWN
if (gSetting_200TX)
#endif
return 0;
if (Frequency >= frequencyBandTable[BAND5_350MHz].lower && Frequency < frequencyBandTable[BAND5_350MHz].upper)
#ifndef ENABLE_FEAT_F4HWN
if (gSetting_350TX && gSetting_350EN)
#else
if (gSetting_350EN)
#endif
return 0;
if (Frequency >= frequencyBandTable[BAND6_400MHz].lower && Frequency < frequencyBandTable[BAND6_400MHz].upper)
return 0;
if (Frequency >= frequencyBandTable[BAND7_470MHz].lower && Frequency <= 60000000)
#ifndef ENABLE_FEAT_F4HWN
if (gSetting_500TX)
#endif
return 0;
break;