fix(techo-lite): remove duplicate EXTERNAL_FLASH_DEVICES definition

variant.h defines EXTERNAL_FLASH_DEVICES twice:
- First (correct):    ZD25WQ32CEIGR (32Mbit = 4MB, matches actual hardware)
- Second (incorrect): MX25R1635F    (16Mbit = 2MB, T-Echo non-Lite chip)

Due to C preprocessor behavior, the second definition silently overrides
the first, causing firmware to initialize the wrong flash chip. This can
result in LittleFS operating incorrectly on T-Echo Lite hardware.

Remove the erroneous second definition.

Also fix missing newline at end of file.
This commit is contained in:
me
2026-07-02 08:28:01 -07:00
parent 33fdf67e4d
commit 4866268cb9
-3
View File
@@ -95,9 +95,6 @@
#define PIN_BUTTON2 _PINNUM(0, 18) #define PIN_BUTTON2 _PINNUM(0, 18)
#define BUTTON_PIN2 PIN_BUTTON2 #define BUTTON_PIN2 PIN_BUTTON2
#define EXTERNAL_FLASH_DEVICES MX25R1635F
#define EXTERNAL_FLASH_USE_QSPI
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// Lora // Lora