This commit is contained in:
kbx81
2026-05-18 18:24:54 -05:00
parent 0d1d00b654
commit de53e7a6b1
3 changed files with 5 additions and 11 deletions
@@ -149,9 +149,6 @@ bool ESPNowComponent::is_wifi_enabled() {
}
void ESPNowComponent::setup() {
// Initialize LwIP stack for wake_loop_threadsafe() socket support
// Network interface setup handled by network component
if (this->enable_on_boot_) {
this->enable_();
} else {
@@ -8,8 +8,7 @@
#include "esp_netif.h"
#include "esp_event.h"
#endif
namespace esphome {
namespace network {
namespace esphome::network {
static const char *const TAG = "network";
@@ -33,6 +32,6 @@ void NetworkComponent::setup() {
}
#endif
}
} // namespace network
} // namespace esphome
} // namespace esphome::network
#endif
@@ -7,13 +7,11 @@
#include "esp_netif.h"
#include "esp_event.h"
#endif
namespace esphome {
namespace network {
namespace esphome::network {
class NetworkComponent : public Component {
public:
void setup() override;
float get_setup_priority() const override { return setup_priority::AFTER_BLUETOOTH; }
};
} // namespace network
} // namespace esphome
} // namespace esphome::network
#endif