diff --git a/config.h b/config.h index 82dd8ad..8ad95b1 100644 --- a/config.h +++ b/config.h @@ -2,8 +2,8 @@ // SELECT HARDWARE !!!! //////////////////////////////////////////////////////////// -#define BOARD_TTGO_T4 -//#define BOARD_M5STACK_CORE +//#define BOARD_TTGO_T4 +#define BOARD_M5STACK_CORE //////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// diff --git a/dist/m5stack_core1/enirodashboard.ino.bin b/dist/m5stack_core1/enirodashboard.ino.bin index 95cb297..4c6f3d6 100644 Binary files a/dist/m5stack_core1/enirodashboard.ino.bin and b/dist/m5stack_core1/enirodashboard.ino.bin differ diff --git a/dist/ttgo_t4_v13/enirodashboard.ino.bin b/dist/ttgo_t4_v13/enirodashboard.ino.bin index 49ed497..0d491e3 100644 Binary files a/dist/ttgo_t4_v13/enirodashboard.ino.bin and b/dist/ttgo_t4_v13/enirodashboard.ino.bin differ diff --git a/enirodashboard.ino b/enirodashboard.ino index d783084..2f44830 100644 --- a/enirodashboard.ino +++ b/enirodashboard.ino @@ -1811,12 +1811,12 @@ void setup(void) { if (psramFound()) psramUsed = true; #endif - if (!psramUsed) { - displayMessage("SRAM support required", "Compile with ESP32 Wrover CPU"); - delay(60000); - ESP.restart(); - } - spr.setColorDepth(16); +// if (!psramUsed) { +// displayMessage("SRAM support required", "Compile with ESP32 Wrover CPU"); +// delay(60000); +// ESP.restart(); +// } + spr.setColorDepth((psramUsed) ? 16 : 8); spr.createSprite(320, 240); redrawScreen();