From 2a0dfa742ebe723369b1129e8eb3dfd494102718 Mon Sep 17 00:00:00 2001 From: wu58430 Date: Mon, 4 Dec 2023 17:40:09 +0800 Subject: [PATCH] MDC RX --- .idea/workspace.xml | 16 ++++++++++------ settings.c | 2 +- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 6911af4..68f3128 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -20,10 +20,7 @@ - - - - + diff --git a/settings.c b/settings.c index fc94075..db75f63 100644 --- a/settings.c +++ b/settings.c @@ -142,7 +142,7 @@ void SETTINGS_InitEEPROM(void) #ifdef ENABLE_ALARM gEeprom.ALARM_MODE = (Data[0] < 2) ? Data[0] : true; #endif - gEeprom.ROGER = (Data[1] < 3) ? Data[1] : ROGER_MODE_OFF; + gEeprom.ROGER = (Data[1] < 6) ? Data[1] : ROGER_MODE_OFF; gEeprom.REPEATER_TAIL_TONE_ELIMINATION = (Data[2] < 11) ? Data[2] : 0; gEeprom.TX_VFO = (Data[3] < 2) ? Data[3] : 0; gEeprom.BATTERY_TYPE = (Data[4] < BATTERY_TYPE_UNKNOWN) ? Data[4] : BATTERY_TYPE_1600_MAH;