diff --git a/components/gui/include/gui.hpp b/components/gui/include/gui.hpp index 6d5736c..0517b5f 100644 --- a/components/gui/include/gui.hpp +++ b/components/gui/include/gui.hpp @@ -41,7 +41,7 @@ class Gui { using namespace std::placeholders; task_ = espp::Task::make_unique( espp::Task::Config{.callback = [this](auto &m, auto &cv) -> bool { return update(m, cv); }, - .task_config = {.name = "Gui Task", .stack_size_bytes = 6 * 1024}}); + .task_config = {.name = "Gui Task", .stack_size_bytes = 10 * 1024}}); task_->start(); } diff --git a/components/gui/src/text_window.cpp b/components/gui/src/text_window.cpp index 0d29d9f..4767fcd 100644 --- a/components/gui/src/text_window.cpp +++ b/components/gui/src/text_window.cpp @@ -3,10 +3,7 @@ void TextWindow::init(lv_obj_t *parent, size_t width, size_t height) { Window::init(parent, width, height); log_container_ = lv_label_create(parent_); - // NOTE: in LVGL v9 (up to 9.2.2) text recoloring was removed. In the future - // (>=9.2.3) it will be added back. - // - // lv_label_set_recolor(log_container_, true); + lv_label_set_recolor(log_container_, true); // wrap text on long lines lv_label_set_long_mode(log_container_, LV_LABEL_LONG_WRAP);