mirror of
https://github.com/esphome/esphome.git
synced 2026-09-21 12:08:38 +00:00
Merge remote-tracking branch 'origin/ethernet-rp2040-w5500-impl' into integration
This commit is contained in:
@@ -180,6 +180,7 @@ void EthernetComponent::dump_config() {
|
||||
network::IPAddresses EthernetComponent::get_ip_addresses() {
|
||||
network::IPAddresses addresses;
|
||||
if (this->eth_ != nullptr) {
|
||||
LwIPLock lock;
|
||||
addresses[0] = network::IPAddress(this->eth_->localIP());
|
||||
}
|
||||
return addresses;
|
||||
|
||||
Reference in New Issue
Block a user