Skip to content

Commit 8dd6eca

Browse files
committed
Add condition for SPI NRF52805
1 parent ab5b6ae commit 8dd6eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/SPI/SPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ void SPIClass::detachInterrupt() {
256256
}
257257

258258
#if SPI_INTERFACES_COUNT > 0
259-
#if defined(NRF52_SERIES)
259+
#if defined(NRF52_SERIES) && !defined(NRF52805_XXAA)
260260
SPIClass SPI (NRF_SPI2, PIN_SPI_MISO, PIN_SPI_SCK, PIN_SPI_MOSI);
261261
#else
262262
SPIClass SPI (NRF_SPI0, PIN_SPI_MISO, PIN_SPI_SCK, PIN_SPI_MOSI);

0 commit comments

Comments
 (0)