Add F_LOCK_PMR
This commit is contained in:
@@ -222,6 +222,13 @@ int32_t TX_freq_check(const uint32_t Frequency)
|
|||||||
return 0;
|
return 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
#ifdef ENABLE_FEAT_F4HWN
|
||||||
|
case F_LOCK_PMR:
|
||||||
|
if (Frequency >= 44600625 && Frequency <= 44619375)
|
||||||
|
return 0;
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
|
|
||||||
case F_LOCK_ALL:
|
case F_LOCK_ALL:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@@ -45,6 +45,9 @@ enum TxLockModes_t {
|
|||||||
F_LOCK_GB,
|
F_LOCK_GB,
|
||||||
F_LOCK_430,
|
F_LOCK_430,
|
||||||
F_LOCK_438,
|
F_LOCK_438,
|
||||||
|
#ifdef ENABLE_FEAT_F4HWN
|
||||||
|
F_LOCK_PMR,
|
||||||
|
#endif
|
||||||
F_LOCK_ALL, // disable TX on all frequencies
|
F_LOCK_ALL, // disable TX on all frequencies
|
||||||
F_LOCK_NONE, // enable TX on all frequencies
|
F_LOCK_NONE, // enable TX on all frequencies
|
||||||
F_LOCK_LEN
|
F_LOCK_LEN
|
||||||
|
@@ -305,6 +305,9 @@ const char * const gSubMenu_F_LOCK[] =
|
|||||||
"GB HAM\n144-148\n430-440",
|
"GB HAM\n144-148\n430-440",
|
||||||
"137-174\n400-430",
|
"137-174\n400-430",
|
||||||
"137-174\n400-438",
|
"137-174\n400-438",
|
||||||
|
#ifdef ENABLE_FEAT_F4HWN
|
||||||
|
"PMR 446",
|
||||||
|
#endif
|
||||||
"DISABLE\nALL",
|
"DISABLE\nALL",
|
||||||
"UNLOCK\nALL",
|
"UNLOCK\nALL",
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user