mirror of
https://github.com/lvgl/lvgl.git
synced 2025-02-04 07:13:00 +08:00
fix warning
This commit is contained in:
parent
0cafde653d
commit
7fe16e2ed4
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user