Skip to content

Commit 812d131

Browse files
johannesmaibaumme-no-dev
authored andcommitted
Correct comment in SPI_Multiple_Buses.ino (espressif#2272)
The default SPI bus is VSPI (see libraries/SPI/src/SPI.cpp). This change corrects a misleading comment in a code example which was stating wrongly that HSPI would be the default one.
1 parent 00e69a2 commit 812d131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/SPI/examples/SPI_Multiple_Buses/SPI_Multiple_Buses.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/* The ESP32 has four SPi buses, however as of right now only two of
44
* them are available to use, HSPI and VSPI. Simply using the SPI API
5-
* as illustrated in Arduino examples will use HSPI, leaving VSPI unused.
5+
* as illustrated in Arduino examples will use VSPI, leaving HSPI unused.
66
*
77
* However if we simply intialise two instance of the SPI class for both
88
* of these buses both can be used. However when just using these the Arduino

0 commit comments

Comments
 (0)