From 7de50992b2069dc3dcd871affaa51f132cc55f59 Mon Sep 17 00:00:00 2001 From: FloHomi <118730383+FloHomi@users.noreply.github.com> Date: Sat, 14 Sep 2024 06:08:36 +0200 Subject: [PATCH] fix(bar): fix bit overflow (#6841) --- src/widgets/bar/lv_bar_private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widgets/bar/lv_bar_private.h b/src/widgets/bar/lv_bar_private.h index 891d14a34..1a8dd4bb1 100644 --- a/src/widgets/bar/lv_bar_private.h +++ b/src/widgets/bar/lv_bar_private.h @@ -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*/ };