Skip to content

Commit

Permalink
v1.0.8
Browse files Browse the repository at this point in the history
#### New in v1.0.8

1. Fix W5x00 support for ESP8266 and many more boards.
  • Loading branch information
khoih-prog authored May 13, 2020
1 parent 75b1555 commit b331308
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion LibraryPatches/EthernetLarge/src/EthernetLarge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,10 @@ void EthernetClass::begin(uint8_t *mac, IPAddress ip, IPAddress dns, IPAddress g

void EthernetClass::begin(uint8_t *mac, IPAddress ip, IPAddress dns, IPAddress gateway, IPAddress subnet)
{
if (W5100.init() == 0) return;
//if (W5100.init() == 0) return;
// KH
if (W5100.init(MAX_SOCK_NUM, _pinCS) == 0)

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);
W5100.setMACAddress(mac);
#ifdef ESP8266
Expand Down

0 comments on commit b331308

Please sign in to comment.