Skip to content

Commit 50fd9bf

Browse files
committed
fix(spi): Fix SPI example and JSON
1 parent a2a090d commit 50fd9bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libraries/SPI/examples/SPI_Multiple_Buses/SPI_Multiple_Buses.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#define HSPI_SS 15
4040
#endif
4141

42-
#if CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
42+
#if !defined(CONFIG_IDF_TARGET_ESP32)
4343
#define VSPI FSPI
4444
#endif
4545

Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"requires": [
3-
"CONFIG_SOC_SPI_PERIPH_NUM=[2-9]|CONFIG_SOC_SPI_PERIPH_NUM=[1-9][0-9]+"
3+
"CONFIG_SOC_SPI_PERIPH_NUM=[2-9]"
44
]
55
}

0 commit comments

Comments
 (0)