summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2011-05-07 08:08:49 +0000
committerNils Wallménius <nils@rockbox.org>2011-05-07 08:08:49 +0000
commit04b4722a5ca50880027f828ccbd8c760f395f88b (patch)
tree30c1822269500643312fbd8775a17f5c8b8393af
parent7bac05c74954a10888b92754b51418c70bcd458a (diff)
Fix FS#12098 by ignoring battery update events in the yesno screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29828 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/yesno.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/gui/yesno.c b/apps/gui/yesno.c
index dfce541147..6c87c8784c 100644
--- a/apps/gui/yesno.c
+++ b/apps/gui/yesno.c
@@ -204,6 +204,7 @@ enum yesno_res gui_syncyesno_run(const struct text_message * main_message,
break;
case ACTION_NONE:
case SYS_CHARGER_DISCONNECTED:
+ case SYS_BATTERY_UPDATE:
/* ignore some SYS events that can happen */
continue;
default: