diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index 558494c..2a24d93 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -5,6 +5,7 @@
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 643f9fb..262a9fe 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -21,11 +21,17 @@
+
-
-
+
+
+
+
+
+
+
+
-
@@ -134,7 +140,7 @@
-
+
1701136012311
@@ -367,7 +373,14 @@
1701682811016
-
+
+ 1701685151218
+
+
+
+ 1701685151218
+
+
diff --git a/app/main.c b/app/main.c
index 4e7a219..c7dbecc 100644
--- a/app/main.c
+++ b/app/main.c
@@ -152,11 +152,11 @@ static void processFKeyFunction(const KEY_Code_t Key, const bool beep) {
return;
} else {
Band = gTxVfo->Band + 1;
- if (gSetting_350EN || Band != BAND5_350MHz) {
+// if (gSetting_350EN || Band != BAND5_350MHz) {
if (Band > BAND7_470MHz)
Band = BAND1_50MHz;
- } else
- Band = BAND6_400MHz;
+// } else
+// Band = BAND6_400MHz;
gTxVfo->Band = Band;
diff --git a/app/menu.c b/app/menu.c
index ceef832..87007ef 100644
--- a/app/menu.c
+++ b/app/menu.c
@@ -251,10 +251,10 @@ int MENU_GetLimits(uint8_t menu_id, int32_t *pMin, int32_t *pMax)
#ifdef ENABLE_NOAA
case MENU_NOAA_S:
#endif
- case MENU_350TX:
- case MENU_200TX:
- case MENU_500TX:
- case MENU_350EN:
+// case MENU_350TX:
+// case MENU_200TX:
+// case MENU_500TX:
+// case MENU_350EN:
// case MENU_SCREN:
// *pMin = 0;
// *pMax = ARRAY_SIZE(gSubMenu_OFF_ON) - 1;
@@ -738,9 +738,9 @@ void MENU_AcceptSetting(void)
SETTINGS_FactoryReset(gSubMenuSelection);
return;
- case MENU_350TX:
- gSetting_350TX = gSubMenuSelection;
- break;
+// case MENU_350TX:
+// gSetting_350TX = gSubMenuSelection;
+// break;
case MENU_F_LOCK: {
// if(gSubMenuSelection == F_LOCK_NONE) { // select 10 times to enable
@@ -754,19 +754,19 @@ void MENU_AcceptSetting(void)
gSetting_F_LOCK = gSubMenuSelection;
break;
}
- case MENU_200TX:
- gSetting_200TX = gSubMenuSelection;
- break;
+// case MENU_200TX:
+// gSetting_200TX = gSubMenuSelection;
+// break;
+//
+// case MENU_500TX:
+// gSetting_500TX = gSubMenuSelection;
+// break;
- case MENU_500TX:
- gSetting_500TX = gSubMenuSelection;
- break;
-
- case MENU_350EN:
- gSetting_350EN = gSubMenuSelection;
- gVfoConfigureMode = VFO_CONFIGURE_RELOAD;
- gFlagResetVfos = true;
- break;
+// case MENU_350EN:
+// gSetting_350EN = gSubMenuSelection;
+// gVfoConfigureMode = VFO_CONFIGURE_RELOAD;
+// gFlagResetVfos = true;
+// break;
// case MENU_SCREN:
// gSetting_ScrambleEnable = gSubMenuSelection;
@@ -1116,25 +1116,25 @@ void MENU_ShowCurrentSetting(void)
#endif
break;
- case MENU_350TX:
- gSubMenuSelection = gSetting_350TX;
- break;
+// case MENU_350TX:
+// gSubMenuSelection = gSetting_350TX;
+// break;
case MENU_F_LOCK:
gSubMenuSelection = gSetting_F_LOCK;
break;
- case MENU_200TX:
- gSubMenuSelection = gSetting_200TX;
- break;
-
- case MENU_500TX:
- gSubMenuSelection = gSetting_500TX;
- break;
-
- case MENU_350EN:
- gSubMenuSelection = gSetting_350EN;
- break;
+// case MENU_200TX:
+// gSubMenuSelection = gSetting_200TX;
+// break;
+//
+// case MENU_500TX:
+// gSubMenuSelection = gSetting_500TX;
+// break;
+//
+// case MENU_350EN:
+// gSubMenuSelection = gSetting_350EN;
+// break;
// case MENU_SCREN:
// gSubMenuSelection = gSetting_ScrambleEnable;
diff --git a/frequencies.c b/frequencies.c
index 3995af1..34b5c28 100644
--- a/frequencies.c
+++ b/frequencies.c
@@ -145,17 +145,17 @@ int TX_freq_check(const uint32_t Frequency)
case F_LOCK_DEF:
if (Frequency >= frequencyBandTable[BAND3_137MHz].lower && Frequency < frequencyBandTable[BAND3_137MHz].upper)
return 0;
- if (Frequency >= frequencyBandTable[BAND4_174MHz].lower && Frequency < frequencyBandTable[BAND4_174MHz].upper)
- if (gSetting_200TX)
- return 0;
- if (Frequency >= frequencyBandTable[BAND5_350MHz].lower && Frequency < frequencyBandTable[BAND5_350MHz].upper)
- if (gSetting_350TX && gSetting_350EN)
- return 0;
+// if (Frequency >= frequencyBandTable[BAND4_174MHz].lower && Frequency < frequencyBandTable[BAND4_174MHz].upper)
+// if (gSetting_F_LOCK==F_LOCK_ALL)
+// return 0;
+// if (Frequency >= frequencyBandTable[BAND5_350MHz].lower && Frequency < frequencyBandTable[BAND5_350MHz].upper)
+// if (gSetting_F_LOCK==F_LOCK_ALL)
+// return 0;
if (Frequency >= frequencyBandTable[BAND6_400MHz].lower && Frequency < frequencyBandTable[BAND6_400MHz].upper)
return 0;
- if (Frequency >= frequencyBandTable[BAND7_470MHz].lower && Frequency <= 60000000)
- if (gSetting_500TX)
- return 0;
+// if (Frequency >= frequencyBandTable[BAND7_470MHz].lower && Frequency <= 60000000)
+// if (gSetting_F_LOCK==F_LOCK_ALL)
+// return 0;
break;
case F_LOCK_FCC:
diff --git a/main.c b/main.c
index 33f5998..40e54f1 100644
--- a/main.c
+++ b/main.c
@@ -108,7 +108,7 @@ void Main(void)
//BootMode = BOOT_GetMode();
// if (BootMode == BOOT_MODE_F_LOCK)
- gMenuListCount = 48;
+ gMenuListCount = 45;
// wait for user to release all butts before moving on
diff --git a/misc.c b/misc.c
index b3a12f1..d43f83e 100644
--- a/misc.c
+++ b/misc.c
@@ -78,13 +78,13 @@ const uint32_t gDefaultAesKey[4] = {0x4AA5CC60, 0x0312CC5F, 0x
const uint8_t gMicGain_dB2[5] = {3, 8, 16, 24, 31};
-bool gSetting_350TX;
+//bool gSetting_350TX;
#ifdef ENABLE_DTMF_CALLING
bool gSetting_KILLED;
#endif
-bool gSetting_200TX;
-bool gSetting_500TX;
-bool gSetting_350EN;
+//bool gSetting_200TX;
+//bool gSetting_500TX;
+//bool gSetting_350EN;
uint8_t gSetting_F_LOCK;
bool gSetting_ScrambleEnable;
diff --git a/misc.h b/misc.h
index a875428..1a564ec 100644
--- a/misc.h
+++ b/misc.h
@@ -142,13 +142,13 @@ extern const uint16_t scan_pause_delay_in_7_10ms;
extern const uint8_t gMicGain_dB2[5];
-extern bool gSetting_350TX;
+//extern bool gSetting_350TX;
#ifdef ENABLE_DTMF_CALLING
extern bool gSetting_KILLED;
#endif
-extern bool gSetting_200TX;
-extern bool gSetting_500TX;
-extern bool gSetting_350EN;
+//extern bool gSetting_200TX;
+//extern bool gSetting_500TX;
+//extern bool gSetting_350EN;
extern uint8_t gSetting_F_LOCK;
extern bool gSetting_ScrambleEnable;
diff --git a/payment/sponsors.md b/payment/sponsors.md
index 875b390..48d004b 100644
--- a/payment/sponsors.md
+++ b/payment/sponsors.md
@@ -16,18 +16,19 @@
### 收款码
-| 赞助商 | 渠道 | 金额 | 时间 |
-|-----------|-------|-------:|-----------|
+| 赞助商 | 渠道 | 金额 | 时间 |
+|-----------|-------|-------:|------------|
| 忠 | 微信打赏 | ¥20.00 | 2023-11-19 |
| BG6SNG | 支付宝打赏 | ¥10.00 | 2023-11-20 |
| 江璐璐 | 支付宝打赏 | ¥10.00 | 2023-11-21 |
| 济南黄河业余无线电 | 微信打赏 | ¥25.00 | 2023-11-22 |
| DE.BG9JAQ | 微信打赏 | ¥9.99 | 2023-11-22 |
-| 井之水 | 微信打赏 | ¥9.9 | 2023-11-2 |
+| 井之水 | 微信打赏 | ¥9.90 | 2023-11-2 |
| 姜先生 | 微信打赏 | ¥66.61 | 2023-11-28 |
-| Hui-Shao | 支付宝打赏 | ¥10.0 | 2023-11-29|
-| BI1OWT | 支付宝打赏 | ¥10.0 | 2023-12-01|
-| 蛋 | 微信打赏 | ¥6.66 | 2023-12-01|
+| Hui-Shao | 支付宝打赏 | ¥10.00 | 2023-11-29 |
+| BI1OWT | 支付宝打赏 | ¥10.00 | 2023-12-01 |
+| 蛋 | 微信打赏 | ¥6.66 | 2023-12-01 |
+| J*n | 微信打赏 | ¥10.00 | 2023-12-04 |
diff --git a/radio.c b/radio.c
index a2ae41c..9d28af9 100644
--- a/radio.c
+++ b/radio.c
@@ -153,13 +153,13 @@ void RADIO_ConfigureChannel(const unsigned int VFO, const unsigned int configure
{
VFO_Info_t *pVfo = &gEeprom.VfoInfo[VFO];
- if (!gSetting_350EN) {
- if (gEeprom.FreqChannel[VFO] == FREQ_CHANNEL_FIRST + BAND5_350MHz)
- gEeprom.FreqChannel[VFO] = FREQ_CHANNEL_FIRST + BAND6_400MHz;
-
- if (gEeprom.ScreenChannel[VFO] == FREQ_CHANNEL_FIRST + BAND5_350MHz)
- gEeprom.ScreenChannel[VFO] = FREQ_CHANNEL_FIRST + BAND6_400MHz;
- }
+// if (!gSetting_350EN) {
+// if (gEeprom.FreqChannel[VFO] == FREQ_CHANNEL_FIRST + BAND5_350MHz)
+// gEeprom.FreqChannel[VFO] = FREQ_CHANNEL_FIRST + BAND6_400MHz;
+//
+// if (gEeprom.ScreenChannel[VFO] == FREQ_CHANNEL_FIRST + BAND5_350MHz)
+// gEeprom.ScreenChannel[VFO] = FREQ_CHANNEL_FIRST + BAND6_400MHz;
+// }
uint8_t channel = gEeprom.ScreenChannel[VFO];
@@ -399,12 +399,12 @@ void RADIO_ConfigureChannel(const unsigned int VFO, const unsigned int configure
pVfo->pTX = &pVfo->freq_config_RX;
}
- if (!gSetting_350EN)
- {
- FREQ_Config_t *pConfig = pVfo->pRX;
- if (pConfig->Frequency >= 35000000 && pConfig->Frequency < 40000000)
- pConfig->Frequency = 43300000;
- }
+// if (!gSetting_350EN)
+// {
+// FREQ_Config_t *pConfig = pVfo->pRX;
+// if (pConfig->Frequency >= 35000000 && pConfig->Frequency < 40000000)
+// pConfig->Frequency = 43300000;
+// }
// else{
diff --git a/settings.c b/settings.c
index cb78c8b..2c3adc0 100644
--- a/settings.c
+++ b/settings.c
@@ -236,13 +236,13 @@ void SETTINGS_InitEEPROM(void)
// 0F40..0F47
EEPROM_ReadBuffer(0x0F40, Data, 8);
gSetting_F_LOCK = (Data[0] < F_LOCK_LEN) ? Data[0] : F_LOCK_DEF;
- gSetting_350TX = (Data[1] < 2) ? Data[1] : false; // was true
+// gSetting_350TX = (Data[1] < 2) ? Data[1] : false; // was true
#ifdef ENABLE_DTMF_CALLING
gSetting_KILLED = (Data[2] < 2) ? Data[2] : false;
#endif
- gSetting_200TX = (Data[3] < 2) ? Data[3] : false;
- gSetting_500TX = (Data[4] < 2) ? Data[4] : false;
- gSetting_350EN = (Data[5] < 2) ? Data[5] : true;
+// gSetting_200TX = (Data[3] < 2) ? Data[3] : false;
+// gSetting_500TX = (Data[4] < 2) ? Data[4] : false;
+// gSetting_350EN = (Data[5] < 2) ? Data[5] : true;
gSetting_ScrambleEnable = (Data[6] < 2) ? Data[6] : true;
//gSetting_TX_EN = (Data[7] & (1u << 0)) ? true : false;
gSetting_live_DTMF_decoder = (Data[7] & (1u << 1)) ? true : false;
@@ -577,13 +577,13 @@ void SETTINGS_SaveSettings(void)
memset(State, 0xFF, sizeof(State));
State[0] = gSetting_F_LOCK;
- State[1] = gSetting_350TX;
+// State[1] = gSetting_350TX;
#ifdef ENABLE_DTMF_CALLING
State[2] = gSetting_KILLED;
#endif
- State[3] = gSetting_200TX;
- State[4] = gSetting_500TX;
- State[5] = gSetting_350EN;
+// State[3] = gSetting_200TX;
+// State[4] = gSetting_500TX;
+// State[5] = gSetting_350EN;
State[6] = gSetting_ScrambleEnable;
//if (!gSetting_TX_EN) State[7] &= ~(1u << 0);
if (!gSetting_live_DTMF_decoder) State[7] &= ~(1u << 1);
diff --git a/ui/menu.c b/ui/menu.c
index e5ab9bb..4edf861 100644
--- a/ui/menu.c
+++ b/ui/menu.c
@@ -100,10 +100,10 @@ const t_menu_item MenuList[] =
// hidden menu items from here on
// enabled if pressing both the PTT and upper side button at power-on
{/*"F Lock",*/ VOICE_ID_INVALID, MENU_F_LOCK ,频段解锁},
- {/*"Tx 200",*/ VOICE_ID_INVALID, MENU_200TX ,两百M发射}, // was "200TX"
- {/*"Tx 350",*/ VOICE_ID_INVALID, MENU_350TX ,三百五十M发射}, // was "350TX"
- {/*"Tx 500",*/ VOICE_ID_INVALID, MENU_500TX ,五百M发射}, // was "500TX"
- {/*"350 En",*/ VOICE_ID_INVALID, MENU_350EN ,三百五十M接收}, // was "350EN"
+// {/*"Tx 200",*/ VOICE_ID_INVALID, MENU_200TX ,两百M发射}, // was "200TX"
+// {/*"Tx 350",*/ VOICE_ID_INVALID, MENU_350TX ,三百五十M发射}, // was "350TX"
+// {/*"Tx 500",*/ VOICE_ID_INVALID, MENU_500TX ,五百M发射}, // was "500TX"
+// {/*"350 En",*/ VOICE_ID_INVALID, MENU_350EN ,三百五十M接收}, // was "350EN"
#ifdef ENABLE_F_CAL_MENU//0
{/*"FrCali",*/ VOICE_ID_INVALID, MENU_F_CALI ,""}, // reference xtal calibration
#endif
@@ -646,10 +646,10 @@ void UI_DisplayMenu(void) {
#ifdef ENABLE_NOAA
case MENU_NOAA_S:
#endif
- case MENU_350TX:
- case MENU_200TX:
- case MENU_500TX:
- case MENU_350EN:
+// case MENU_350TX:
+// case MENU_200TX:
+// case MENU_500TX:
+// case MENU_350EN:
strcpy(String, gSubMenu_OFF_ON[gSubMenuSelection]);
break;
diff --git a/ui/menu.h b/ui/menu.h
index 0b8cecb..8e945ad 100644
--- a/ui/menu.h
+++ b/ui/menu.h
@@ -119,10 +119,10 @@ enum
#endif
MENU_RESET,
MENU_F_LOCK,
- MENU_200TX,
- MENU_350TX,
- MENU_500TX,
- MENU_350EN,
+// MENU_200TX,
+// MENU_350TX,
+// MENU_500TX,
+// MENU_350EN,
// MENU_SCREN,
#ifdef ENABLE_F_CAL_MENU
MENU_F_CALI, // reference xtal calibration