fix(bar): fix bit overflow (#6841)
This commit is contained in:
committed by
Gabor Kiss-Vamosi
parent
be7b3ee714
commit
7de50992b2
@@ -44,8 +44,8 @@ struct lv_bar_t {
|
||||
bool val_reversed; /**< Whether value been reversed */
|
||||
lv_bar_anim_t cur_value_anim;
|
||||
lv_bar_anim_t start_value_anim;
|
||||
lv_bar_mode_t mode : 2; /**< Type of bar*/
|
||||
lv_bar_orientation_t orientation : 2; /**< Orientation of bar*/
|
||||
lv_bar_mode_t mode : 3; /**< Type of bar*/
|
||||
lv_bar_orientation_t orientation : 3; /**< Orientation of bar*/
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user