Added Second SPI option for Touchpad driver
This commit is contained in:
parent
ed787f58f0
commit
18b743aaec
|
|
@ -15,6 +15,14 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef TOUCH_CS
|
||||
#if defined (SPI2_for_TOUCH_PORT)
|
||||
SPIClass spi = SPIClass(HSPI);
|
||||
#else
|
||||
SPIClass& spi = SPI;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
#if defined (TFT_SDA_READ) && !defined (TFT_PARALLEL_8_BIT)
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
|||
Loading…
Reference in New Issue