diff --git a/frequencies.c b/frequencies.c index df3a193fe..8c4a2514d 100644 --- a/frequencies.c +++ b/frequencies.c @@ -222,6 +222,11 @@ int32_t TX_freq_check(const uint32_t Frequency) return 0; break; + case F_LOCK_PMR: + if (Frequency >= 44600625 && Frequency <= 44619375) + return 0; + break; + case F_LOCK_ALL: break; diff --git a/settings.h b/settings.h index 16b9ac01f..55ae7b9a6 100644 --- a/settings.h +++ b/settings.h @@ -40,6 +40,7 @@ enum TxLockModes_t { F_LOCK_GB, F_LOCK_430, F_LOCK_438, + F_LOCK_PMR, F_LOCK_ALL, // disable TX on all frequencies F_LOCK_NONE, // enable TX on all frequencies F_LOCK_LEN diff --git a/ui/menu.c b/ui/menu.c index f5855e521..587ba8e5e 100644 --- a/ui/menu.c +++ b/ui/menu.c @@ -282,6 +282,7 @@ const char * const gSubMenu_F_LOCK[] = "GB HAM\n144-148\n430-440", "137-174\n400-430", "137-174\n400-438", + "PMR446", "DISABLE\nALL", "UNLOCK\nALL", };