mirror of https://github.com/arendst/Tasmota.git
Update xdrv_54_lvgl.ino
Fix compile error with LVGL define and without USE_BERRY defined
This commit is contained in:
parent
551aa10352
commit
5aa1d225d7
|
@ -42,6 +42,7 @@ Adafruit_LvGL_Glue * glue;
|
|||
// Logging
|
||||
// **************************************************
|
||||
#if LV_USE_LOG
|
||||
#ifdef USE_BERRY
|
||||
static void lvbe_debug(lv_log_level_t level, const char *file, uint32_t line, const char *fname, const char *msg);
|
||||
static void lvbe_debug(lv_log_level_t level, const char *file, uint32_t line, const char *fname, const char *msg) {
|
||||
be_writebuffer("LVG: ", sizeof("LVG: "));
|
||||
|
@ -51,6 +52,7 @@ static void lvbe_debug(lv_log_level_t level, const char *file, uint32_t line, co
|
|||
be_writebuffer("\n", sizeof("\n"));
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/************************************************************
|
||||
* Main screen refresh function
|
||||
|
|
Loading…
Reference in New Issue