fix(log): to allow printf and custom_print_cb to work at same time (#2837)

This commit is contained in:
Man, Jianting (Meco)
2021-11-26 08:48:28 -05:00
committed by GitHub
parent 8f6b1f8d6c
commit 24ea0897dc
+1 -2
View File
@@ -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);
}
/**********************