1
0
Fork 0
forked from len0rd/rockbox

Revert "Fix building test plugins on non-touch targets."

This reverts commit 84c77d40f5.

The commit used an unrelated define which doesn't actually work.
This commit is contained in:
Thomas Martitz 2012-01-29 21:47:56 +01:00
parent f57e5a2ae3
commit 476fcfa538
2 changed files with 2 additions and 2 deletions

View file

@ -814,6 +814,7 @@ void cleanup(void)
{ {
rb->screens[0]->set_viewport(NULL); rb->screens[0]->set_viewport(NULL);
} }
#endif
static struct touchbutton button[] = { static struct touchbutton button[] = {
@ -823,7 +824,6 @@ static struct touchbutton button[] = {
/* viewport runtime initialized, rest false/NULL */ /* viewport runtime initialized, rest false/NULL */
} }
}; };
#endif
void plugin_quit(void) void plugin_quit(void)
{ {

View file

@ -358,6 +358,7 @@ static void time_greyscale(void)
log_text("CPU load err (boost?)"); log_text("CPU load err (boost?)");
} }
} }
#endif
static struct touchbutton button[] = { static struct touchbutton button[] = {
{ {
@ -366,7 +367,6 @@ static struct touchbutton button[] = {
/* viewport runtime initialized, rest false/NULL */ /* viewport runtime initialized, rest false/NULL */
} }
}; };
#endif
void plugin_quit(void) void plugin_quit(void)
{ {