Skip to content

Commit 6d9a9f9

Browse files
committed
ethernet: add maintain() dummy implementation
1 parent 36c8143 commit 6d9a9f9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libraries/Ethernet/src/Ethernet.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ int EthernetClass::begin(uint8_t *mac, unsigned long timeout, unsigned long resp
1212
return NetworkInterface::begin();
1313
}
1414

15+
int EthernetClass::maintain() {
16+
return 0; // DHCP_CHECK_NONE
17+
}
18+
1519
int EthernetClass::begin(uint8_t *mac, IPAddress ip) {
1620
IPAddress dns = ip;
1721
dns[3] = 1;

0 commit comments

Comments
 (0)