aboutsummaryrefslogtreecommitdiff
path: root/examples/arduino/LVGL_Arduino
diff options
context:
space:
mode:
authorGabor Kiss-Vamosi <kisvegabor@gmail.com>2021-12-21 10:21:40 +0100
committerGitHub <noreply@github.com>2021-12-21 10:21:40 +0100
commitd79283c145f92124c800453bcaf1caf1f9684bc5 (patch)
tree00a9da6a748bb0bb3e702894d9c5bf1fec8c4128 /examples/arduino/LVGL_Arduino
parent28d06b03543a9c809d22784f9648607a2f369585 (diff)
downloadlvgl-d79283c145f92124c800453bcaf1caf1f9684bc5.tar.gz
lvgl-d79283c145f92124c800453bcaf1caf1f9684bc5.zip
fix(example): update LVGL_Arduino.ino
Diffstat (limited to 'examples/arduino/LVGL_Arduino')
-rw-r--r--examples/arduino/LVGL_Arduino/LVGL_Arduino.ino4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino b/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino
index 9ba575b23..ec01d0ca6 100644
--- a/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino
+++ b/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino
@@ -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