mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Remove ENABLE_TX_WHEN_AM
This commit is contained in:
1 parent
66fb8b1ed4
commit
941693a0d8
4 files changed
+1
-7
No files matched your search
@@ -150,7 +150,6 @@ enable_feature(ENABLE_SMALL_BOLD)
|
||||
enable_feature(ENABLE_CUSTOM_MENU_LAYOUT)
|
||||
enable_feature(ENABLE_KEEP_MEM_NAME)
|
||||
enable_feature(ENABLE_WIDE_RX)
|
||||
enable_feature(ENABLE_TX_WHEN_AM)
|
||||
enable_feature(ENABLE_F_CAL_MENU)
|
||||
enable_feature(ENABLE_CTCSS_TAIL_PHASE_SHIFT)
|
||||
enable_feature(ENABLE_BOOT_BEEPS)
|
||||
|
||||
@@ -841,10 +841,8 @@ static VfoState_t FOXHUNT_TxState(void)
|
||||
return VFO_STATE_BAT_LOW;
|
||||
if (gBatteryDisplayLevel > 6)
|
||||
return VFO_STATE_VOLTAGE_HIGH;
|
||||
#ifndef ENABLE_TX_WHEN_AM
|
||||
if (gTxVfo->Modulation != MODULATION_FM)
|
||||
return VFO_STATE_TX_DISABLE;
|
||||
#endif
|
||||
return VFO_STATE_NORMAL;
|
||||
}
|
||||
|
||||
|
||||
+1
-3
@@ -1213,12 +1213,10 @@ void RADIO_PrepareTX(void)
|
||||
State = VFO_STATE_TX_DISABLE;
|
||||
}
|
||||
#endif
|
||||
#ifndef ENABLE_TX_WHEN_AM
|
||||
else if (gCurrentVfo->Modulation != MODULATION_FM) {
|
||||
// not allowed to TX if in AM mode
|
||||
// AM and other non-FM modes are receive-only.
|
||||
State = VFO_STATE_TX_DISABLE;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (State != VFO_STATE_NORMAL) {
|
||||
// TX not allowed
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
"ENABLE_CUSTOM_MENU_LAYOUT": true,
|
||||
"ENABLE_KEEP_MEM_NAME": true,
|
||||
"ENABLE_WIDE_RX": true,
|
||||
"ENABLE_TX_WHEN_AM": false,
|
||||
"ENABLE_F_CAL_MENU": false,
|
||||
"ENABLE_CTCSS_TAIL_PHASE_SHIFT": false,
|
||||
"ENABLE_BOOT_BEEPS": false,
|
||||
|
||||
Reference in new issue
Block a user