forked from len0rd/rockbox
Ignore SYS_CHARGER_DISCONNECTED event in yesno screen (other events may need to be filtered as well) as it made the auto-ROLO question close immediatly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13635 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
06b32fad8d
commit
93af4feae9
1 changed files with 2 additions and 0 deletions
|
|
@ -121,6 +121,8 @@ enum yesno_res gui_syncyesno_run(struct text_message * main_message,
|
|||
result=YESNO_YES;
|
||||
break;
|
||||
case ACTION_NONE:
|
||||
case SYS_CHARGER_DISCONNECTED:
|
||||
/* ignore some SYS events that can happen */
|
||||
continue;
|
||||
default:
|
||||
if(default_event_handler(button) == SYS_USB_CONNECTED)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue