mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-25 09:15:43 +08:00
fix(log): to allow printf and custom_print_cb to work at same time (#2837)
This commit is contained in:
committed by
GitHub
parent
8f6b1f8d6c
commit
24ea0897dc
+1
-2
@@ -116,9 +116,8 @@ void lv_log(const char * buf)
|
||||
{
|
||||
#if LV_LOG_PRINTF
|
||||
puts(buf);
|
||||
#else
|
||||
if(custom_print_cb) custom_print_cb(buf);
|
||||
#endif
|
||||
if(custom_print_cb) custom_print_cb(buf);
|
||||
}
|
||||
|
||||
/**********************
|
||||
|
||||
Reference in New Issue
Block a user