mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-07-31 19:24:46 +02:00
Fix #2425
This commit is contained in:
10
TFT_eSPI.cpp
10
TFT_eSPI.cpp
@@ -5950,10 +5950,12 @@ void TFT_eSPI::getSetup(setup_t &tft_settings)
|
|||||||
#ifdef SPI_READ_FREQUENCY
|
#ifdef SPI_READ_FREQUENCY
|
||||||
tft_settings.tft_rd_freq = SPI_READ_FREQUENCY/100000;
|
tft_settings.tft_rd_freq = SPI_READ_FREQUENCY/100000;
|
||||||
#endif
|
#endif
|
||||||
#ifdef TFT_SPI_PORT
|
#ifndef GENERIC_PROCESSOR
|
||||||
tft_settings.port = TFT_SPI_PORT;
|
#ifdef TFT_SPI_PORT
|
||||||
#else
|
tft_settings.port = TFT_SPI_PORT;
|
||||||
tft_settings.port = 255;
|
#else
|
||||||
|
tft_settings.port = 255;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef RP2040_PIO_SPI
|
#ifdef RP2040_PIO_SPI
|
||||||
tft_settings.interface = 0x10;
|
tft_settings.interface = 0x10;
|
||||||
|
Reference in New Issue
Block a user