mirror of
https://github.com/esphome/esphome.git
synced 2025-10-04 11:02:19 +01:00
Reduce ESP_LOGCONFIG calls (#9026)
This commit is contained in:
@@ -19,10 +19,12 @@ void LCDCharacterMenuComponent::setup() {
|
||||
float LCDCharacterMenuComponent::get_setup_priority() const { return setup_priority::PROCESSOR - 1.0f; }
|
||||
|
||||
void LCDCharacterMenuComponent::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "LCD Menu");
|
||||
ESP_LOGCONFIG(TAG, " Columns: %u, Rows: %u", this->columns_, this->rows_);
|
||||
ESP_LOGCONFIG(TAG, " Mark characters: %02x, %02x, %02x, %02x", this->mark_selected_, this->mark_editing_,
|
||||
this->mark_submenu_, this->mark_back_);
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"LCD Menu\n"
|
||||
" Columns: %u, Rows: %u\n"
|
||||
" Mark characters: %02x, %02x, %02x, %02x",
|
||||
this->columns_, this->rows_, this->mark_selected_, this->mark_editing_, this->mark_submenu_,
|
||||
this->mark_back_);
|
||||
if (this->is_failed()) {
|
||||
ESP_LOGE(TAG, "The connected display failed, the menu is disabled!");
|
||||
}
|
||||
|
Reference in New Issue
Block a user