Reduce ESP_LOGCONFIG calls (#9026)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2025-06-09 00:02:30 +00:00
1 parent 80dddb4cae
commit c0b05ada1a
218 files changed
+1569 -931

No files matched your search

@@ -188,14 +188,17 @@ void HostUartComponent::dump_config() {
}
return;
}
ESP_LOGCONFIG(TAG, " Port status: opened");
ESP_LOGCONFIG(TAG, " Baud Rate: %d", this->baud_rate_);
ESP_LOGCONFIG(TAG, " Data Bits: %d", this->data_bits_);
ESP_LOGCONFIG(TAG, " Parity: %s",
ESP_LOGCONFIG(TAG,
" Port status: opened\n"
" Baud Rate: %d\n"
" Data Bits: %d\n"
" Parity: %s\n"
" Stop Bits: %d",
this->baud_rate_, this->data_bits_,
this->parity_ == UART_CONFIG_PARITY_NONE ? "None"
: this->parity_ == UART_CONFIG_PARITY_EVEN ? "Even"
: "Odd");
ESP_LOGCONFIG(TAG, " Stop Bits: %d", this->stop_bits_);
: "Odd",
this->stop_bits_);
this->check_logger_conflict();
}