mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 11:08:20 +00:00
Add F_LOCK_PMR
This commit is contained in:
1 parent
fe1c3d010a
commit
a562ff8479
3 files changed
+13
No files matched your search
@@ -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