mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-09-14 14:14:09 +00:00
move eth_10mbit to Network Settings
This commit is contained in:
@@ -49,15 +49,15 @@ void Network::begin() {
|
||||
nosleep_ = settings.nosleep;
|
||||
tx_power_ = settings.tx_power;
|
||||
bssid_ = settings.bssid;
|
||||
eth_10mbit_ = settings.eth_10mbit;
|
||||
});
|
||||
|
||||
// read Ethernet settings
|
||||
// read Ethernet hardware settings
|
||||
EMSESP::webSettingsService.read([&](WebSettings & settings) {
|
||||
phy_type_ = settings.phy_type;
|
||||
eth_power_ = settings.eth_power;
|
||||
eth_phy_addr_ = settings.eth_phy_addr;
|
||||
eth_clock_mode_ = settings.eth_clock_mode;
|
||||
eth_10mbit_ = settings.eth_10mbit;
|
||||
});
|
||||
|
||||
// get Access Point settings
|
||||
|
||||
Reference in New Issue
Block a user