Fix FS#10231. The gwps_leave_wps() call at powering down is completely unnecessary anyway as it's meant to prepare the displaying of the next screen, which isn't needed when there's no next screen.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21067 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2009-05-24 16:09:00 +00:00
parent 45f72e933a
commit 6de2f14b23

View file

@ -779,7 +779,6 @@ long gui_wps_show(void)
break;
#endif
case SYS_POWEROFF:
gwps_leave_wps();
default_event_handler(SYS_POWEROFF);
break;