[network] Store use_address in RODATA to save RAM (#11707)
This commit is contained in:
1 parent
aed7505f53
commit
531b27582a
11 files changed
+33
-22
No files matched your search
@@ -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