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)