mirror of
https://github.com/agessaman/MeshCore.git
synced 2026-08-28 20:28:16 +00:00
* HSPI fix
This commit is contained in:
@@ -103,7 +103,7 @@ static TFT_eSPI lcd = TFT_eSPI(160, 80);
|
|||||||
static uint32_t curr_color;
|
static uint32_t curr_color;
|
||||||
|
|
||||||
#if defined(HELTEC_LORA_V3) || defined(HELTEC_TRACKER_V2)
|
#if defined(HELTEC_LORA_V3) || defined(HELTEC_TRACKER_V2)
|
||||||
static SPIClass tft_spi(SPI3_HOST);
|
static SPIClass tft_spi(HSPI);
|
||||||
#define _spi (&tft_spi)
|
#define _spi (&tft_spi)
|
||||||
#else
|
#else
|
||||||
#define _spi (&SPI1)
|
#define _spi (&SPI1)
|
||||||
|
|||||||
Reference in New Issue
Block a user