From b7bfa9cca4a426b3d53a7525a8684f7848d31f9d Mon Sep 17 00:00:00 2001 From: Yuan Ming Fu Date: Wed, 10 Jul 2019 11:03:37 +0800 Subject: [PATCH] bugfix(lvgl coffee): bugfix: issue #40 --- examples/hmi/lvgl_coffee/main/app_main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/hmi/lvgl_coffee/main/app_main.cpp b/examples/hmi/lvgl_coffee/main/app_main.cpp index a2e6b466a..d0a5e552b 100644 --- a/examples/hmi/lvgl_coffee/main/app_main.cpp +++ b/examples/hmi/lvgl_coffee/main/app_main.cpp @@ -343,9 +343,10 @@ static void create_tab(lv_obj_t *parent, uint8_t wp_img_id, uint8_t coffee_type_ lv_obj_animate(precent_label[id], LV_ANIM_FLOAT_BOTTOM | LV_ANIM_OUT, 400, 0, NULL); /* animation of hide the object */ } -static void tabview_load_action(lv_obj_t *tabview, uint16_t tab_action_id) +static lv_res_t tabview_load_action(lv_obj_t *tabview, uint16_t tab_action_id) { tab_id = tab_action_id; + return LV_RES_OK; } static void littlevgl_coffee(void)