Fix building checkwps on targets without a remote
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22453 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d0d1c8321a
commit
8741cd4ebd
1 changed files with 2 additions and 0 deletions
|
@ -463,6 +463,7 @@ int main(int argc, char **argv)
|
||||||
* flawed wps */
|
* flawed wps */
|
||||||
while (argv[filearg]) {
|
while (argv[filearg]) {
|
||||||
printf("Checking %s...\n", argv[filearg]);
|
printf("Checking %s...\n", argv[filearg]);
|
||||||
|
#ifdef HAVE_REMOTE
|
||||||
if(strcmp(&argv[filearg][strlen(argv[filearg])-4], "rwps") == 0)
|
if(strcmp(&argv[filearg][strlen(argv[filearg])-4], "rwps") == 0)
|
||||||
{
|
{
|
||||||
wps_screen = &screens[SCREEN_REMOTE];
|
wps_screen = &screens[SCREEN_REMOTE];
|
||||||
|
@ -473,6 +474,7 @@ int main(int argc, char **argv)
|
||||||
wps_screen = &screens[SCREEN_MAIN];
|
wps_screen = &screens[SCREEN_MAIN];
|
||||||
wps.remote_wps = false;
|
wps.remote_wps = false;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
res = skin_data_load(&wps, wps_screen, argv[filearg], true);
|
res = skin_data_load(&wps, wps_screen, argv[filearg], true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue