[network] Store use_address in RODATA to save RAM (#11707)

This commit is contained in:
J. Nick Koston
2025-11-05 10:52:10 +13:00
committed by GitHub
parent aed7505f53
commit 531b27582a
11 changed files with 33 additions and 22 deletions
+1 -1
View File
@@ -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; }