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 097f2ab commit 4717585Copy full SHA for 4717585
libraries/Ethernet/src/ETH.cpp
@@ -553,7 +553,7 @@ bool ETHClass::beginSPI(
553
buscfg.data7_io_num = -1;
554
buscfg.max_transfer_sz = -1;
555
ret = spi_bus_initialize(spi_host, &buscfg, SPI_DMA_CH_AUTO);
556
- if (ret != ESP_OK) {
+ if (ret != ESP_OK && ret != ESP_ERR_INVALID_STATE) {
557
log_e("SPI bus initialize failed: %d", ret);
558
return false;
559
}
0 commit comments