Forgot to remove wps_data.remove_wps in checkwps too.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23514 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2009-11-04 07:28:12 +00:00
parent b2e64581d3
commit 9f82def977

View file

@ -272,15 +272,7 @@ int main(int argc, char **argv)
printf("Checking %s...\n", argv[filearg]);
#ifdef HAVE_REMOTE_LCD
if(strcmp(&argv[filearg][strlen(argv[filearg])-4], "rwps") == 0)
{
screen = SCREEN_REMOTE;
wps.remote_wps = true;
}
else
{
screen = SCREEN_MAIN;
wps.remote_wps = false;
}
#endif
wps_screen = &screens[screen];