1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-02-04 07:13:00 +08:00

fix warning

This commit is contained in:
Gabor Kiss-Vamosi 2021-05-27 11:52:10 +02:00
parent 0cafde653d
commit 7fe16e2ed4

View File

@ -8,6 +8,8 @@ static lv_style_t style_btn;
to add new styles*/ to add new styles*/
static void new_theme_apply_cb(lv_theme_t * th, lv_obj_t * obj) static void new_theme_apply_cb(lv_theme_t * th, lv_obj_t * obj)
{ {
LV_UNUSED(th);
if(lv_obj_check_type(obj, &lv_btn_class)) { if(lv_obj_check_type(obj, &lv_btn_class)) {
lv_obj_add_style(obj, &style_btn, 0); lv_obj_add_style(obj, &style_btn, 0);
} }