inject device name for LAN8720 devices
This commit is contained in:
@@ -12,7 +12,8 @@ class EthLan8720Device : public NetworkDevice
|
||||
|
||||
public:
|
||||
EthLan8720Device(const String& hostname,
|
||||
Preferences* _preferences,
|
||||
Preferences* preferences,
|
||||
const std::string& deviceName,
|
||||
uint8_t phy_addr = ETH_PHY_ADDR,
|
||||
int power = ETH_PHY_POWER,
|
||||
int mdc = ETH_PHY_MDC,
|
||||
@@ -74,6 +75,7 @@ private:
|
||||
bool _hardwareInitialized = false;
|
||||
bool _lastConnected = false;
|
||||
|
||||
const std::string _deviceName;
|
||||
uint8_t _phy_addr;
|
||||
int _power;
|
||||
int _mdc;
|
||||
|
||||
Reference in New Issue
Block a user