Make compatible with existing port define
This commit is contained in:
1 parent
4fd8aa8bd4
commit
6f4cf86834
1 file changed
+3
-3
@@ -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
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user