From f9bcd2b11c20cf551488a60515698c612ffa1ec4 Mon Sep 17 00:00:00 2001 From: Valerio Vaccaro Date: Mon, 4 Dec 2023 22:11:35 +0100 Subject: [PATCH 1/2] fix NerdminerV2-T-Display_V1 --- src/media/images_240_135.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/media/images_240_135.h b/src/media/images_240_135.h index 3df3b83..cb4935c 100644 --- a/src/media/images_240_135.h +++ b/src/media/images_240_135.h @@ -4279,7 +4279,7 @@ const unsigned short globalHashScreen[0xFD20] PROGMEM = { const uint16_t priceScreenWidth = 240; const uint16_t priceScreenHeight = 128; -const unsigned short price_screen[0x7800] PROGMEM = { +const unsigned short priceScreen[0x7800] PROGMEM = { 0x630C, 0x18C3, 0x10A2, 0x10A2, 0x10A2, 0x10A2, 0x10A2, 0x10A2, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, // 0x0010 (16) 0x1082, 0x1081, 0x1081, 0x1081, 0x0861, 0x0861, 0x0861, 0x0861, 0x0861, 0x0861, 0x0841, 0x0861, 0x1082, 0x1082, 0x1082, 0x0861, // 0x0020 (32) 0x0841, 0x0841, 0x0841, 0x0841, 0x0841, 0x0841, 0x0841, 0x0841, 0x0841, 0x0841, 0x0841, 0x0841, 0x0020, 0x0020, 0x0020, 0x0020, // 0x0030 (48) From 188b81c85c64ec6bd3c2112c3166c97d9fdcd67a Mon Sep 17 00:00:00 2001 From: Valerio Vaccaro Date: Mon, 4 Dec 2023 22:31:51 +0100 Subject: [PATCH 2/2] fix ESP32-cam --- src/drivers/devices/esp32CAM.h | 2 +- src/drivers/storage/SDCard.h | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/drivers/devices/esp32CAM.h b/src/drivers/devices/esp32CAM.h index 2949491..c8c1634 100644 --- a/src/drivers/devices/esp32CAM.h +++ b/src/drivers/devices/esp32CAM.h @@ -4,7 +4,7 @@ #define PIN_BUTTON_1 0 #define LED_PIN 33 -#define DONGLE_DISPLAY // NO_DISPLAY +#define NO_DISPLAY // example how to configure SD card. // if you would define everything, diff --git a/src/drivers/storage/SDCard.h b/src/drivers/storage/SDCard.h index 0de28f9..1b00fa3 100644 --- a/src/drivers/storage/SDCard.h +++ b/src/drivers/storage/SDCard.h @@ -27,7 +27,10 @@ #include #include - #include "..\lib\TFT_eSPI\User_Setup_Select.h" + + #if !defined(NO_DISPLAY) + #include "..\lib\TFT_eSPI\User_Setup_Select.h" + #endif #if !defined(NO_DISPLAY) && !defined(LED_DISPLAY) #if !defined(SDSPI_CLK) && defined(TFT_CLK)