Update xdrv_54_lvgl.ino

Fix compile error without Berry define.
This commit is contained in:
mikep1998 2021-07-10 14:19:04 -07:00
parent f27eef5730
commit c72465b063
1 changed files with 1 additions and 1 deletions

View File

@ -401,11 +401,11 @@ void start_lvgl(const char * uconfig) {
#ifdef USE_BERRY #ifdef USE_BERRY
lv_obj_set_style_local_bg_color(lv_scr_act(), LV_OBJ_PART_MAIN, LV_STATE_DEFAULT, lv_color_from_uint32(USE_LVGL_BG_DEFAULT)); lv_obj_set_style_local_bg_color(lv_scr_act(), LV_OBJ_PART_MAIN, LV_STATE_DEFAULT, lv_color_from_uint32(USE_LVGL_BG_DEFAULT));
lv_obj_set_style_local_bg_opa(lv_scr_act(), LV_OBJ_PART_MAIN, LV_STATE_DEFAULT, LV_OPA_COVER); lv_obj_set_style_local_bg_opa(lv_scr_act(), LV_OBJ_PART_MAIN, LV_STATE_DEFAULT, LV_OPA_COVER);
#endif
#if LV_USE_LOG #if LV_USE_LOG
lv_log_register_print_cb(lvbe_debug); lv_log_register_print_cb(lvbe_debug);
#endif // LV_USE_LOG #endif // LV_USE_LOG
#endif
#ifdef USE_UFILESYS #ifdef USE_UFILESYS
// Add file system mapping // Add file system mapping