mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-24 00:07:03 +08:00
Fix #1472: Ignore DISABLED state when counting button states
This commit is contained in:
@@ -41,8 +41,8 @@ enum {
|
||||
LV_BTN_STATE_PRESSED,
|
||||
LV_BTN_STATE_CHECKED_RELEASED,
|
||||
LV_BTN_STATE_CHECKED_PRESSED,
|
||||
LV_BTN_STATE_DISABLED = 0x80,
|
||||
_LV_BTN_STATE_LAST, /* Number of states*/
|
||||
_LV_BTN_STATE_LAST = LV_BTN_STATE_CHECKED_PRESSED + 1, /* Number of states*/
|
||||
LV_BTN_STATE_DISABLED = 0x80
|
||||
};
|
||||
typedef uint8_t lv_btn_state_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user