Can change SPI speed in menu

Now you can change SPI speed to avoid interference.
This commit is contained in:
ohmytime
2023-10-22 14:24:30 +08:00
parent 8a77275b77
commit 22f85087ef
7 changed files with 6118 additions and 5807 deletions
+6 -1
View File
@@ -181,7 +181,7 @@
#define EE_UINT16_FREQUENCY_OIRT 102
#define EE_STRING_XDRGTK_KEY 106 // 11 byte
#define EE_BYTE_FASTPS 118
#define EE_BYTE_TOT 119
#define EE_BYTE_TOT 119
#define EE_PRESETS_BAND_START 120
#define EE_PRESETS_START 220
#define EE_PRESETS_FREQUENCY 8750
@@ -231,6 +231,11 @@ enum RADIO_FM_DEEMPHASIS {
DEEMPHASIS_COUNT
};
enum SPI_SPEED_ENUM {
SPI_SPEED_DEFAULT = 0, SPI_SPEED_10M, SPI_SPEED_20M, SPI_SPEED_30M, SPI_SPEED_40M, SPI_SPEED_50M, SPI_SPEED_60M, SPI_SPEED_70M, SPI_SPEED_80M,
SPI_SPEED_COUNT
};
static const uint8_t TEFLogo[] PROGMEM = {
0xff, 0xff, 0xf8, 0x7f, 0xfe, 0x07, 0xff, 0xe0, 0xff, 0xff, 0xf8, 0xff, 0xff, 0x1f, 0xff, 0xe0,
0xff, 0xff, 0xf9, 0xff, 0xff, 0x1f, 0xff, 0xe0, 0xff, 0xff, 0xfb, 0xff, 0xfe, 0x3f, 0xff, 0xe0,