Added Second SPI option for Touchpad driver

This commit is contained in:
Hamid Saffari 2020-03-27 17:09:29 +04:30 committed by GitHub
parent b44ebfd66d
commit 3ac1671184
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -295,3 +295,9 @@
// so changing it here has no effect
// #define SUPPORT_TRANSACTIONS
// The STM32 and have more than one SPI port.
// so uncomment the following line if you want to use second SPI for Touch:
// On STM32F1: SPITwo (PB15, PB14, PB13); (MOSI, MISO, CLK)
// On ESP32 : HSPI (13, 12, 14); (MOSI, MISO, CLK)
#define SPI2_for_TOUCH_PORT