This commit is contained in:
Lubos Petrovic
2020-11-25 16:32:24 +01:00
parent 0774095676
commit c3090a0be6
4 changed files with 8 additions and 8 deletions

View File

@@ -2,8 +2,8 @@
// SELECT HARDWARE !!!! // SELECT HARDWARE !!!!
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
#define BOARD_TTGO_T4 //#define BOARD_TTGO_T4
//#define BOARD_M5STACK_CORE #define BOARD_M5STACK_CORE
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////

Binary file not shown.

Binary file not shown.

View File

@@ -1811,12 +1811,12 @@ void setup(void) {
if (psramFound()) if (psramFound())
psramUsed = true; psramUsed = true;
#endif #endif
if (!psramUsed) { // if (!psramUsed) {
displayMessage("SRAM support required", "Compile with ESP32 Wrover CPU"); // displayMessage("SRAM support required", "Compile with ESP32 Wrover CPU");
delay(60000); // delay(60000);
ESP.restart(); // ESP.restart();
} // }
spr.setColorDepth(16); spr.setColorDepth((psramUsed) ? 16 : 8);
spr.createSprite(320, 240); spr.createSprite(320, 240);
redrawScreen(); redrawScreen();