fix(log): replace printf with fwrite to save the stack size
@@ -98,7 +98,7 @@ void _lv_log_add(lv_log_level_t level, const char * file, int line, const char *
void lv_log(const char * buf)
{
#if LV_LOG_PRINTF
- printf("%s", buf);
+ fwrite(buf, 1, strlen(buf), stdout);
#endif
if(custom_print_cb) custom_print_cb(buf);
