mirror of
https://github.com/esphome/esphome.git
synced 2026-03-03 11:18:21 -07:00
[network] Store use_address in RODATA to save RAM (#11707)
This commit is contained in:
@@ -324,7 +324,7 @@ void WebServer::dump_config() {
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"Web Server:\n"
|
||||
" Address: %s:%u",
|
||||
network::get_use_address().c_str(), this->base_->get_port());
|
||||
network::get_use_address(), this->base_->get_port());
|
||||
}
|
||||
float WebServer::get_setup_priority() const { return setup_priority::WIFI - 1.0f; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user