Update SDSPI defines duplicate problems

This commit is contained in:
puppy 2024-01-23 13:46:58 +08:00
commit 4e8667fa0f
5 changed files with 2 additions and 7 deletions

View file

@ -315,7 +315,6 @@ void disablePeripherals()
#define disablePeripherals()
#endif
SPIClass SDSPI(HSPI);
void initBoard()

View file

@ -316,7 +316,6 @@ void disablePeripherals()
#define disablePeripherals()
#endif
SPIClass SDSPI(HSPI);
void initBoard()

View file

@ -315,7 +315,6 @@ void disablePeripherals()
#define disablePeripherals()
#endif
SPIClass SDSPI(HSPI);
void initBoard()

View file

@ -314,7 +314,7 @@ void disablePeripherals()
#define disablePeripherals()
#endif
SPIClass SDSPI(HSPI);
void initBoard()
@ -332,7 +332,6 @@ void initBoard()
#endif
#ifdef HAS_GPS
Serial1.begin(GPS_BAUD_RATE, SERIAL_8N1, GPS_RX_PIN, GPS_TX_PIN);
#endif

View file

@ -8,6 +8,7 @@
#include <SD.h>
#include <FS.h>
#endif
SPIClass SDSPI(HSPI);
#ifdef HAS_DISPLAY
#include <U8g2lib.h>
@ -34,7 +35,6 @@ GxEPD_Class display(io, EDP_RSET_PIN, EDP_BUSY_PIN);
#endif
Ticker ledTicker;
#if defined(LILYGO_TBeam_V1_X)
#include <axp20x.h>
@ -113,7 +113,6 @@ void disablePeripherals()
#define disablePeripherals()
#endif
SPIClass SDSPI(HSPI);
void initBoard()