Update iaw #2657 for SPI inclusion only

This commit is contained in:
Bodmer
2023-07-03 19:24:21 +01:00
parent 42b9a4fbd1
commit 6342bfc833
2 changed files with 6 additions and 4 deletions

View File

@ -5936,7 +5936,7 @@ void TFT_eSPI::setTextFont(uint8_t f)
** Function name: getSPIinstance
** Description: Get the instance of the SPI class
***************************************************************************************/
#if !defined (TFT_PARALLEL_8_BIT) && ! defined (RP2040_PIO_INTERFACE)
#if !defined (TFT_PARALLEL_8_BIT) && !defined (RP2040_PIO_INTERFACE)
SPIClass& TFT_eSPI::getSPIinstance(void)
{
return spi;