mirror of
https://github.com/esphome/esphome.git
synced 2025-10-26 12:43:48 +00:00
Reduce ESP_LOGCONFIG calls (#9026)
This commit is contained in:
@@ -85,8 +85,10 @@ void CameraWebServer::on_shutdown() {
|
||||
}
|
||||
|
||||
void CameraWebServer::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "ESP32 Camera Web Server:");
|
||||
ESP_LOGCONFIG(TAG, " Port: %d", this->port_);
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"ESP32 Camera Web Server:\n"
|
||||
" Port: %d",
|
||||
this->port_);
|
||||
if (this->mode_ == STREAM) {
|
||||
ESP_LOGCONFIG(TAG, " Mode: stream");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user