mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-28 13:36:27 +08:00
fix(example): update LVGL_Arduino.ino
This commit is contained in:
committed by
GitHub
parent
28d06b0354
commit
d79283c145
@@ -19,9 +19,9 @@ TFT_eSPI tft = TFT_eSPI(screenWidth, screenHeight); /* TFT instance */
|
|||||||
|
|
||||||
#if LV_USE_LOG != 0
|
#if LV_USE_LOG != 0
|
||||||
/* Serial debugging */
|
/* 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();
|
Serial.flush();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user