Add F_LOCK_PMR
This commit is contained in:
@@ -222,6 +222,13 @@ int32_t TX_freq_check(const uint32_t Frequency)
|
||||
return 0;
|
||||
break;
|
||||
|
||||
#ifdef ENABLE_FEAT_F4HWN
|
||||
case F_LOCK_PMR:
|
||||
if (Frequency >= 44600625 && Frequency <= 44619375)
|
||||
return 0;
|
||||
break;
|
||||
#endif
|
||||
|
||||
case F_LOCK_ALL:
|
||||
break;
|
||||
|
||||
|
@@ -45,6 +45,9 @@ enum TxLockModes_t {
|
||||
F_LOCK_GB,
|
||||
F_LOCK_430,
|
||||
F_LOCK_438,
|
||||
#ifdef ENABLE_FEAT_F4HWN
|
||||
F_LOCK_PMR,
|
||||
#endif
|
||||
F_LOCK_ALL, // disable TX on all frequencies
|
||||
F_LOCK_NONE, // enable TX on all frequencies
|
||||
F_LOCK_LEN
|
||||
|
Reference in New Issue
Block a user