Merge pull request #257 from valerio-vaccaro/231204-fix_building_nerdminer_t-display_esp32cam

fix building nerdminer t display esp32cam
This commit is contained in:
BitMaker 2023-12-08 01:56:11 +01:00 committed by GitHub
commit dcf2683765
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -4,7 +4,7 @@
#define PIN_BUTTON_1 0 #define PIN_BUTTON_1 0
#define LED_PIN 33 #define LED_PIN 33
#define DONGLE_DISPLAY // NO_DISPLAY #define NO_DISPLAY
// example how to configure SD card. // example how to configure SD card.
// if you would define everything, // if you would define everything,

View File

@ -27,7 +27,10 @@
#include <SPI.h> #include <SPI.h>
#include <SD.h> #include <SD.h>
#if !defined(NO_DISPLAY)
#include "..\lib\TFT_eSPI\User_Setup_Select.h" #include "..\lib\TFT_eSPI\User_Setup_Select.h"
#endif
#if !defined(NO_DISPLAY) && !defined(LED_DISPLAY) #if !defined(NO_DISPLAY) && !defined(LED_DISPLAY)
#if !defined(SDSPI_CLK) && defined(TFT_CLK) #if !defined(SDSPI_CLK) && defined(TFT_CLK)