mirror of
https://github.com/esphome/esphome.git
synced 2025-09-04 12:22:20 +01:00
[core] Centralize component setup logging to reduce flash usage (#9885)
This commit is contained in:
@@ -434,7 +434,6 @@ LvglComponent::LvglComponent(std::vector<display::Display *> displays, float buf
|
||||
}
|
||||
|
||||
void LvglComponent::setup() {
|
||||
ESP_LOGCONFIG(TAG, "LVGL Setup starts");
|
||||
auto *display = this->displays_[0];
|
||||
auto width = display->get_width();
|
||||
auto height = display->get_height();
|
||||
@@ -489,7 +488,6 @@ void LvglComponent::setup() {
|
||||
disp->set_rotation(display::DISPLAY_ROTATION_0_DEGREES);
|
||||
this->show_page(0, LV_SCR_LOAD_ANIM_NONE, 0);
|
||||
lv_disp_trig_activity(this->disp_);
|
||||
ESP_LOGCONFIG(TAG, "LVGL Setup complete");
|
||||
}
|
||||
|
||||
void LvglComponent::update() {
|
||||
|
Reference in New Issue
Block a user