We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54c5b1e commit 102ee0eCopy full SHA for 102ee0e
libraries/SPI/SPI.cpp
@@ -149,3 +149,6 @@ void SPIClass::CSControl(bool level)
149
#endif
150
151
SPIClass SPI = SPIClass(SPI_DEFAULT_PORT);
152
+#if SPI_INTERFACES_COUNT > 1
153
+SPIClass SPI1 = SPIClass(SPI_PORT_1);
154
+#endif
libraries/SPI/SPI.h
@@ -137,5 +137,8 @@ class SPIClass
137
};
138
139
extern SPIClass SPI;
140
141
+extern SPIClass SPI1;
142
143
144
0 commit comments