Skip to content

2.2.3 did not work on non-ESP32 boards

Compare
Choose a tag to compare
@wollewald wollewald released this 27 Apr 18:40
· 28 commits to main since this release
2a2fba1

In the last release I added the function:

_spi->begin(sckPin, misoPin, mosiPin, csPin);

...to enable users to change the SPI pins for ESP32 boards. This causes a compiler error on non-ESP32 boards, eventhough it's not used on these boards. I have now embraced this function by an #ifdef ESP32 clause.