Skip to content

Commit 2397d03

Browse files
Remove SPI init from CYW43 ethernet shim
1 parent c889a3c commit 2397d03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/lwIP_Ethernet/src/LwipEthernet.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11

22
#include <LwipEthernet.h>
3-
#include <SPI.h>
3+
//#include <SPI.h>
44

55
//#ifndef ETHERNET_SPI_CLOCK_DIV
66
//#define ETHERNET_SPI_CLOCK_DIV SPI_CLOCK_DIV4 // 4MHz (SPI.h)
77
//#endif
88

99
void SPI4EthInit() {
10-
SPI.begin();
10+
//SPI.begin();
1111
// SPI.setClockDivider(ETHERNET_SPI_CLOCK_DIV);
1212
// SPI.setBitOrder(MSBFIRST);
1313
// SPI.setDataMode(SPI_MODE0);

0 commit comments

Comments
 (0)