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 611068d commit c1c27b1Copy full SHA for c1c27b1
libraries/SPI/SPI.cpp
@@ -254,7 +254,7 @@ void SPIClass::detachInterrupt() {
254
}
255
256
#if SPI_INTERFACES_COUNT > 0
257
-#if defined(NRF52_SERIES)
+#if defined(NRF52_SERIES) && defined(NRF_SPI2)
258
SPIClass SPI (NRF_SPI2, PIN_SPI_MISO, PIN_SPI_SCK, PIN_SPI_MOSI);
259
#else
260
SPIClass SPI (NRF_SPI0, PIN_SPI_MISO, PIN_SPI_SCK, PIN_SPI_MOSI);
0 commit comments