fixes
This commit is contained in:
4
config.h
4
config.h
@@ -2,8 +2,8 @@
|
||||
// SELECT HARDWARE !!!!
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
#define BOARD_TTGO_T4
|
||||
//#define BOARD_M5STACK_CORE
|
||||
//#define BOARD_TTGO_T4
|
||||
#define BOARD_M5STACK_CORE
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
BIN
dist/m5stack_core1/enirodashboard.ino.bin
vendored
BIN
dist/m5stack_core1/enirodashboard.ino.bin
vendored
Binary file not shown.
BIN
dist/ttgo_t4_v13/enirodashboard.ino.bin
vendored
BIN
dist/ttgo_t4_v13/enirodashboard.ino.bin
vendored
Binary file not shown.
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user