diff options
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 7ef531f4df..f23e1b8990 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -1238,15 +1238,15 @@ static bool view_runtime(void) lcd_update(); while (1) { key = button_get_w_tmo(HZ*10); - if ( key & BUTTON_REL ) - continue; if ( key == SETTINGS_OK ) { if ( state == 1 ) global_settings.runtime = 0; else global_settings.topruntime = 0; + break; } - break; + if ( key & BUTTON_REL ) + break; } break; } |