From 62a351932b4b6d2285daa2d142571966c60b9395 Mon Sep 17 00:00:00 2001 From: David Hebbeker Date: Sat, 21 Sep 2024 13:39:54 +0200 Subject: [PATCH] Reduce amount of logging messages printed by LVGL. --- lib/3rd_party_adapters/LVGL/GuiEngine.cpp | 4 ++-- lib/3rd_party_adapters/LVGL/lv_conf.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/3rd_party_adapters/LVGL/GuiEngine.cpp b/lib/3rd_party_adapters/LVGL/GuiEngine.cpp index d1052a58e..da246d2b7 100644 --- a/lib/3rd_party_adapters/LVGL/GuiEngine.cpp +++ b/lib/3rd_party_adapters/LVGL/GuiEngine.cpp @@ -201,9 +201,9 @@ void GuiEngine::registerKeyPad(IKeypad *keypad) void GuiEngine::refresh() { lv_timer_handler(); - LV_LOG_USER("Adafruit display() start"); + LV_LOG_TRACE("Adafruit display() start"); this->display.display(); - LV_LOG_USER("Adafruit display() end"); + LV_LOG_TRACE("Adafruit display() end"); } /** diff --git a/lib/3rd_party_adapters/LVGL/lv_conf.h b/lib/3rd_party_adapters/LVGL/lv_conf.h index b7b6ec383..513ef357a 100644 --- a/lib/3rd_party_adapters/LVGL/lv_conf.h +++ b/lib/3rd_party_adapters/LVGL/lv_conf.h @@ -240,7 +240,7 @@ *LV_LOG_LEVEL_ERROR Only critical issue, when the system may fail *LV_LOG_LEVEL_USER Only logs added by the user *LV_LOG_LEVEL_NONE Do not log anything*/ - #define LV_LOG_LEVEL LV_LOG_LEVEL_INFO + #define LV_LOG_LEVEL LV_LOG_LEVEL_WARN /*1: Print the log with 'printf'; *0: User need to register a callback with `lv_log_register_print_cb()`*/