1
0
Fork 0
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:
Peter D'Hoye 2007-06-16 11:50:42 +00:00
parent 06b32fad8d
commit 93af4feae9

View file

@ -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)