Skip to content

Commit

Permalink
Make compatible with existing port define
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodmer authored Mar 5, 2022
1 parent 4fd8aa8 commit 6f4cf86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Processors/TFT_eSPI_Generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
////////////////////////////////////////////////////////////////////////////////////////

// Select the SPI port to use
#ifndef SPICOM
SPIClass& spi = SPI;
#ifdef TFT_SPI_PORT
SPIClass& spi = TFT_SPI_PORT;
#else
SPIClass& spi = SPICOM;
SPIClass& spi = SPI;
#endif

////////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 6f4cf86

Please sign in to comment.