Make compatible with existing port define

This commit is contained in:
Bodmer 2022-03-05 00:22:32 +00:00 committed by GitHub
parent 4fd8aa8bd4
commit 6f4cf86834
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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
////////////////////////////////////////////////////////////////////////////////////////