summaryrefslogtreecommitdiff
path: root/firmware/2lib/2ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/2lib/2ui.c')
-rw-r--r--firmware/2lib/2ui.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/2lib/2ui.c b/firmware/2lib/2ui.c
index 8adfab80..1bdc2739 100644
--- a/firmware/2lib/2ui.c
+++ b/firmware/2lib/2ui.c
@@ -313,7 +313,9 @@ vb2_error_t ui_loop(struct vb2_context *ctx, enum vb2_screen root_screen_id,
/* We want to redraw when timer is disabled. */
prev_disable_timer != ui.disable_timer ||
/* We want to redraw/beep on a transition. */
- prev_error_code != ui.error_code) {
+ prev_error_code != ui.error_code ||
+ /* We want to beep. */
+ ui.error_beep != 0) {
menu = get_menu(&ui);
VB2_DEBUG("<%s> menu item <%s>\n",