Skip to content

Commit 0f087f8

Browse files
committed
Merge branch 'bugfix/lvgl_coffee' into 'master'
bugfix(lvgl coffee): bugfix: issue #40 See merge request rd/esp-iot-solution!371
2 parents c679921 + b7bfa9c commit 0f087f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: examples/hmi/lvgl_coffee/main/app_main.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,10 @@ static void create_tab(lv_obj_t *parent, uint8_t wp_img_id, uint8_t coffee_type_
343343
lv_obj_animate(precent_label[id], LV_ANIM_FLOAT_BOTTOM | LV_ANIM_OUT, 400, 0, NULL); /* animation of hide the object */
344344
}
345345

346-
static void tabview_load_action(lv_obj_t *tabview, uint16_t tab_action_id)
346+
static lv_res_t tabview_load_action(lv_obj_t *tabview, uint16_t tab_action_id)
347347
{
348348
tab_id = tab_action_id;
349+
return LV_RES_OK;
349350
}
350351

351352
static void littlevgl_coffee(void)

0 commit comments

Comments
 (0)