From e915b841720406c380799cd90d37ccd0b517542c Mon Sep 17 00:00:00 2001 From: ohmytime Date: Thu, 30 Nov 2023 10:32:06 +0800 Subject: [PATCH] Fix FM87.5 can't save to channel --- src/constants.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/constants.h b/src/constants.h index ed5b297..13de44f 100644 --- a/src/constants.h +++ b/src/constants.h @@ -107,7 +107,7 @@ // EEPROM index defines #define EE_PRESETS_CNT 99 -#define EE_CHECKBYTE_VALUE 42 // 0 ~ 255,add new entry, change for new value +#define EE_CHECKBYTE_VALUE 36 // 0 ~ 255,add new entry, change for new value #define EE_TOTAL_CNT 821 #define EE_UINT16_FREQUENCY_FM 0 @@ -183,15 +183,15 @@ #define EE_STRING_XDRGTK_KEY 106 // 11 byte #define EE_BYTE_FASTPS 118 #define EE_BYTE_TOT 119 -#define EE_BYTE_MWREGION 120 -#define EE_BYTE_SPISPEED 121 -#define EE_BYTE_AMSCANSENS 122 -#define EE_BYTE_FMSCANSENS 123 +#define EE_BYTE_MWREGION 120 +#define EE_BYTE_SPISPEED 121 +#define EE_BYTE_AMSCANSENS 122 +#define EE_BYTE_FMSCANSENS 123 #define EE_PRESETS_BAND_START 124 -#define EE_PRESET_BW_START 224 -#define EE_PRESET_MS_START 324 +#define EE_PRESET_BW_START 224 +#define EE_PRESET_MS_START 324 #define EE_PRESETS_START 424 -#define EE_PRESETS_FREQUENCY 8750 +#define EE_PRESETS_FREQUENCY 10800 // End of EEPROM index defines