set hostname for 8720 devices
This commit is contained in:
@@ -72,6 +72,7 @@ void EthLan8720Device::initialize()
|
|||||||
|
|
||||||
WiFi.setHostname(_hostname.c_str());
|
WiFi.setHostname(_hostname.c_str());
|
||||||
_hardwareInitialized = ETH.begin(_phy_addr, _power, _mdc, _mdio, _type, _clock_mode, _use_mac_from_efuse);
|
_hardwareInitialized = ETH.begin(_phy_addr, _power, _mdc, _mdio, _type, _clock_mode, _use_mac_from_efuse);
|
||||||
|
ETH.setHostname(_hostname.c_str());
|
||||||
|
|
||||||
if(_restartOnDisconnect)
|
if(_restartOnDisconnect)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user