Added skin selector

This commit is contained in:
Sjef Verhoeven PE5PVB
2023-12-30 21:52:59 +01:00
parent 6424e13f06
commit e4e4bffe6e
5 changed files with 188 additions and 160 deletions
+12 -10
View File
@@ -109,7 +109,7 @@
#define EE_PRESETS_CNT 99
#define EE_CHECKBYTE_VALUE 3 // 0 ~ 255,add new entry, change for new value
#define EE_TOTAL_CNT 822
#define EE_TOTAL_CNT 823
#define EE_UINT16_FREQUENCY_FM 0
#define EE_BYTE_VOLSET 4
#define EE_BYTE_STEREO 5
@@ -183,15 +183,16 @@
#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_FREQFONT 124
#define EE_PRESETS_BAND_START 125
#define EE_PRESET_BW_START 225
#define EE_PRESET_MS_START 325
#define EE_PRESETS_START 425
#define EE_BYTE_MWREGION 120
#define EE_BYTE_SPISPEED 121
#define EE_BYTE_AMSCANSENS 122
#define EE_BYTE_FMSCANSENS 123
#define EE_BYTE_FREQFONT 124
#define EE_BYTE_SKIN 125
#define EE_PRESETS_BAND_START 126
#define EE_PRESET_BW_START 226
#define EE_PRESET_MS_START 326
#define EE_PRESETS_START 426
#define EE_PRESETS_FREQUENCY 0
// End of EEPROM index defines
@@ -199,6 +200,7 @@
static const char* const unitString[] = {"dBμV", "dBf", "dBm"};
static const char* const FreqFont[] = {"Classic", "Roubenstil", "Motoya", "Aura2", "Comic"};
static const char* const Theme[] = {"Essence", "Cyan", "Crimson", "Monochrome", "Volcano", "Dendro", "Sakura", "Whiteout", "Tangerine", "Ocean", "Indigo", "GoldBrite"};
static const char* const Skin[] = {"Essential"};
// FM band: before BAND_GAP; AM band: after BAND_GAP
enum RADIO_BAND {