1
0
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:
J. Nick Koston
2025-06-08 19:02:30 -05:00
committed by GitHub
parent 80dddb4cae
commit c0b05ada1a
218 changed files with 1569 additions and 931 deletions

View File

@@ -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_() {