Skip to content

Commit f69dfff

Browse files
committed
resptore addSPI for non Arduino
1 parent 755fc15 commit f69dfff

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/DriverPins.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,13 +258,11 @@ class DriverPins {
258258
return true;
259259
}
260260

261-
#ifdef ARDUINO
262261
bool addSPI(PinFunction function, GpioPin clk, GpioPin miso, GpioPin mosi,
263262
GpioPin cs, SPIClass &spi) {
264263
PinsSPI pin(function, clk, miso, mosi, cs, spi);
265264
return addSPI(pin);
266265
}
267-
#endif
268266

269267
/// Updates the SPI pin information using the function as key
270268
bool setSPI(PinsSPI pin) { return set<PinsSPI>(pin, spi); }

0 commit comments

Comments
 (0)