mirror of
https://github.com/esphome/esphome.git
synced 2025-10-24 12:43:51 +01:00
Reduce ESP_LOGCONFIG calls (#9026)
This commit is contained in:
@@ -267,11 +267,13 @@ void WeikaiChannel::setup_channel() {
|
||||
}
|
||||
|
||||
void WeikaiChannel::dump_channel() {
|
||||
ESP_LOGCONFIG(TAG, " UART %s", this->get_channel_name());
|
||||
ESP_LOGCONFIG(TAG, " Baud rate: %" PRIu32 " Bd", this->baud_rate_);
|
||||
ESP_LOGCONFIG(TAG, " Data bits: %u", this->data_bits_);
|
||||
ESP_LOGCONFIG(TAG, " Stop bits: %u", this->stop_bits_);
|
||||
ESP_LOGCONFIG(TAG, " Parity: %s", p2s(this->parity_));
|
||||
ESP_LOGCONFIG(TAG,
|
||||
" UART %s\n"
|
||||
" Baud rate: %" PRIu32 " Bd\n"
|
||||
" Data bits: %u\n"
|
||||
" Stop bits: %u\n"
|
||||
" Parity: %s",
|
||||
this->get_channel_name(), this->baud_rate_, this->data_bits_, this->stop_bits_, p2s(this->parity_));
|
||||
}
|
||||
|
||||
void WeikaiChannel::reset_fifo_() {
|
||||
|
||||
Reference in New Issue
Block a user