Skip to content
Snippets Groups Projects
Commit 79c1b2df authored by Johannes Marbach's avatar Johannes Marbach
Browse files

Prevent logging internal LVGL errors to stdout

parent 71b0b812
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@ If a change only affects particular applications, they are listed in parentheses
- feat(buffyboard): Add man pages (!23, thanks @Jarrah)
- misc: Unify build system (!23, thanks @Jarrah)
- fix: Prevent logging internal LVGL errors to stdout
## 3.2.0 (2024-06-03)
......
......@@ -246,7 +246,7 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
/*1: Print the log with 'printf';
*0: User need to register a callback with `lv_log_register_print_cb()`*/
# define LV_LOG_PRINTF 1
# define LV_LOG_PRINTF 0
/*Enable/disable LV_LOG_TRACE in modules that produces a huge number of logs*/
# define LV_LOG_TRACE_MEM 1
......
......@@ -211,8 +211,9 @@ int main(int argc, char *argv[]) {
return 1;
}
/* Initialise lvgl */
/* Initialise LVGL and set up logging callback */
lv_init();
lv_log_register_print_cb(bbx_log_print_cb);
/* Initialise display */
lv_display_t *disp = lv_linux_fbdev_create();
......
......@@ -140,7 +140,7 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
/*1: Print the log with 'printf';
*0: User need to register a callback with `lv_log_register_print_cb()`*/
# define LV_LOG_PRINTF 1
# define LV_LOG_PRINTF 0
/*Enable/disable LV_LOG_TRACE in modules that produces a huge number of logs*/
# define LV_LOG_TRACE_MEM 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment