mirror of
https://github.com/esphome/esphome.git
synced 2025-11-18 07:45:56 +00:00
Reduce ESP_LOGCONFIG calls (#9026)
This commit is contained in:
@@ -136,10 +136,12 @@ void RP2040UartComponent::dump_config() {
|
||||
if (this->rx_pin_ != nullptr) {
|
||||
ESP_LOGCONFIG(TAG, " RX Buffer Size: %u", this->rx_buffer_size_);
|
||||
}
|
||||
ESP_LOGCONFIG(TAG, " Baud Rate: %u baud", this->baud_rate_);
|
||||
ESP_LOGCONFIG(TAG, " Data Bits: %u", this->data_bits_);
|
||||
ESP_LOGCONFIG(TAG, " Parity: %s", LOG_STR_ARG(parity_to_str(this->parity_)));
|
||||
ESP_LOGCONFIG(TAG, " Stop bits: %u", this->stop_bits_);
|
||||
ESP_LOGCONFIG(TAG,
|
||||
" Baud Rate: %u baud\n"
|
||||
" Data Bits: %u\n"
|
||||
" Parity: %s\n"
|
||||
" Stop bits: %u",
|
||||
this->baud_rate_, this->data_bits_, LOG_STR_ARG(parity_to_str(this->parity_)), this->stop_bits_);
|
||||
if (this->hw_serial_) {
|
||||
ESP_LOGCONFIG(TAG, " Using hardware serial");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user