diff --git a/TEF6686_ESP32.ino b/TEF6686_ESP32.ino index 330f2b0..ee85247 100644 --- a/TEF6686_ESP32.ino +++ b/TEF6686_ESP32.ino @@ -3398,7 +3398,7 @@ void DefaultSettings(byte userhardwaremodel) { for (int i = 0; i < EE_PRESETS_CNT; i++) EEPROM.writeByte(i + EE_PRESETS_BAND_START, BAND_FM); for (int i = 0; i < EE_PRESETS_CNT; i++) EEPROM.writeUInt((i * 4) + EE_PRESETS_START, EE_PRESETS_FREQUENCY); for (int i = 0; i < EE_PRESETS_CNT; i++) EEPROM.writeByte(i + EE_PRESET_BW_START, 0); - for (int i = 0; i < EE_PRESETS_CNT; i++) EEPROM.writeByte(i + EE_PRESET_MS_START, 0); + for (int i = 0; i < EE_PRESETS_CNT; i++) EEPROM.writeByte(i + EE_PRESET_MS_START, 1); if (userhardwaremodel == BASE_ILI9341) EEPROM.writeUInt(EE_UINT16_FREQUENCY_LW, 180); else EEPROM.writeUInt(EE_UINT16_FREQUENCY_LW, 164); if (userhardwaremodel == BASE_ILI9341) EEPROM.writeUInt(EE_UINT16_FREQUENCY_MW, 540); else EEPROM.writeUInt(EE_UINT16_FREQUENCY_MW, 639); if (userhardwaremodel == BASE_ILI9341) EEPROM.writeUInt(EE_UINT16_FREQUENCY_SW, 1800); else EEPROM.writeUInt(EE_UINT16_FREQUENCY_SW, 5000); diff --git a/src/constants.h b/src/constants.h index 35120a0..266b2b9 100644 --- a/src/constants.h +++ b/src/constants.h @@ -109,7 +109,7 @@ #define EE_PRESETS_CNT 99 #define EE_CHECKBYTE_VALUE 42 // 0 ~ 255,add new entry, change for new value -#define EE_TOTAL_CNT 819 +#define EE_TOTAL_CNT 821 #define EE_UINT16_FREQUENCY_FM 0 #define EE_BYTE_VOLSET 4 #define EE_BYTE_STEREO 5