Fix VSPI port for ESP32
ESP32 S2 edits caused a problem
This commit is contained in:
1 parent
c8c5dd7cbb
commit
a2822e6d99
4 files changed
+8
-4
No files matched your search
@@ -47,7 +47,11 @@ SPI3_HOST = 2
|
||||
#define SPI_PORT 3 //HSPI is port 3 on ESP32 S2
|
||||
#endif
|
||||
#else
|
||||
#define SPI_PORT 2 //FSPI(ESP32 S2) or VSPI (ESP32)
|
||||
#ifdef CONFIG_IDF_TARGET_ESP32
|
||||
#define SPI_PORT VSPI
|
||||
#else
|
||||
#define SPI_PORT 2 //FSPI(ESP32 S2)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef RPI_DISPLAY_TYPE
|
||||
|
||||
Reference in new issue
Block a user