Add compile options

This commit is contained in:
Armel FAUVEAU
2024-07-19 14:40:34 +02:00
parent 2a46050a19
commit d2c014d95d
4 changed files with 65 additions and 49 deletions

View File

@@ -227,7 +227,9 @@ int32_t TX_freq_check(const uint32_t Frequency)
if (Frequency >= 44600625 && Frequency <= 44619375)
return 0;
break;
#endif
#ifdef ENABLE_FEAT_F4HWN_GMRS_FRS_MURS
case F_LOCK_GMRS_FRS_MURS:
// https://forums.radioreference.com/threads/the-great-unofficial-radioreference-frs-gmrs-murs-fact-sheet.275370/
if ((Frequency >= 46255000 && Frequency <= 46272500) ||
@@ -240,7 +242,9 @@ int32_t TX_freq_check(const uint32_t Frequency)
Frequency == 15460000) // MURS
return 0;
break;
#endif
#ifdef ENABLE_FEAT_F4HWN_CA
case F_LOCK_CA:
if (Frequency >= 14400000 && Frequency < 14800000)
return 0;