fix(example): update LVGL_Arduino.ino

This commit is contained in:
Gabor Kiss-Vamosi
2021-12-21 10:21:40 +01:00
committed by GitHub
parent 28d06b0354
commit d79283c145

View File

@@ -19,9 +19,9 @@ TFT_eSPI tft = TFT_eSPI(screenWidth, screenHeight); /* TFT instance */
#if LV_USE_LOG != 0
/* Serial debugging */
void my_print( lv_log_level_t level, const char * file, uint32_t line, const char * fn_name, const char * dsc )
void my_print(const char * buf)
{
Serial.printf( "%s(%s)@%d->%s\r\n", file, fn_name, line, dsc );
Serial.printf(buf);
Serial.flush();
}
#endif