mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
fix lv_cb_is_inactive
This commit is contained in:
parent
3758a82f3a
commit
b8a156e0d4
@ -149,7 +149,7 @@ static inline bool lv_cb_is_checked(const lv_obj_t * cb)
|
|||||||
*/
|
*/
|
||||||
static inline bool lv_cb_is_inactive(const lv_obj_t * cb)
|
static inline bool lv_cb_is_inactive(const lv_obj_t * cb)
|
||||||
{
|
{
|
||||||
return lv_btn_get_state(cb) == LV_BTN_STATE_INA ? false : true;
|
return lv_btn_get_state(cb) == LV_BTN_STATE_INA ? true :false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user