summaryrefslogtreecommitdiff
path: root/apps/plugins/firmware_flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/firmware_flash.c')
-rw-r--r--apps/plugins/firmware_flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/firmware_flash.c b/apps/plugins/firmware_flash.c
index 376ae7f80f..6380f6dbdb 100644
--- a/apps/plugins/firmware_flash.c
+++ b/apps/plugins/firmware_flash.c
@@ -592,7 +592,7 @@ int WaitForButton(void)
592 do 592 do
593 { 593 {
594 button = rb->button_get(true); 594 button = rb->button_get(true);
595 } while (button & BUTTON_REL); 595 } while (IS_SYSEVENT(button) || (button & BUTTON_REL));
596 596
597 return button; 597 return button;
598} 598}