diff --git a/Makefile b/Makefile index edcdba4..12d757e 100644 --- a/Makefile +++ b/Makefile @@ -53,7 +53,7 @@ ENABLE_F_CAL_MENU := 0 ENABLE_TX_UNLOCK_MENU := 0 #ENABLE_TX_POWER_CAL_MENU := 0 ENABLE_TX_POWER_FIX := 1 -ENABLE_TX_POWER_LOW_USER := 1 +ENABLE_TX_POWER_LOW_USER := 0 ENABLE_CTCSS_TAIL_PHASE_SHIFT := 1 ENABLE_CONTRAST := 0 ENABLE_BOOT_BEEPS := 0 diff --git a/firmware.bin b/firmware.bin index 2104a10..3b1733f 100644 Binary files a/firmware.bin and b/firmware.bin differ diff --git a/firmware.packed.bin b/firmware.packed.bin index f8fb964..8807814 100644 Binary files a/firmware.packed.bin and b/firmware.packed.bin differ diff --git a/settings.c b/settings.c index 837809e..5f745db 100644 --- a/settings.c +++ b/settings.c @@ -114,6 +114,26 @@ void SETTINGS_read_eeprom(void) sizeof(g_eeprom), sizeof(g_eeprom)); #endif +#if 1 + // channel sanity checks .. + for (index = 0; index < ARRAY_SIZE(g_eeprom.config.channel); index++) + { +// if (g_eeprom.config.channel_attributes[index].band <= BAND7_470MHz) + { // used channel + + if (g_eeprom.config.channel[index].mod_mode == 3) + g_eeprom.config.channel[index].mod_mode = 0; + + #ifdef ENABLE_TX_POWER_LOW_USER + if (g_eeprom.config.channel[index].tx_power_user == 0) + g_eeprom.config.channel[index].tx_power_user = 9; + #endif + + + } + } +#endif + #if 0 // sanity checks ..