mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
LwipIntfDev - config static IP auto gw,mask,dns as in Arduino libraries (#9040)
for 'modern' Ethernet libraries W5100lwIP, W5500lwIP and ENC28J60lwIP used without EthernetCompat
This commit is contained in:
@ -86,6 +86,13 @@ public:
|
||||
return ret;
|
||||
}
|
||||
|
||||
void end()
|
||||
{
|
||||
ip_addr_copy(LwipIntfDev<RawDev>::_netif.ip_addr,
|
||||
ip_addr_any); // to allow DHCP at next begin
|
||||
LwipIntfDev<RawDev>::end();
|
||||
}
|
||||
|
||||
HardwareStatus hardwareStatus() const
|
||||
{
|
||||
return _hardwareStatus;
|
||||
|
Reference in New Issue
Block a user