mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-02 01:18:04 +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
|
#if LV_LOG_PRINTF
|
||||||
puts(buf);
|
puts(buf);
|
||||||
#else
|
|
||||||
if(custom_print_cb) custom_print_cb(buf);
|
|
||||||
#endif
|
#endif
|
||||||
|
if(custom_print_cb) custom_print_cb(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**********************
|
/**********************
|
||||||
|
|||||||
Reference in New Issue
Block a user