diff --git a/src/misc/lv_log.c b/src/misc/lv_log.c index cc62c84b9b..63441d6a49 100644 --- a/src/misc/lv_log.c +++ b/src/misc/lv_log.c @@ -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); } /**********************