Fix building test plugins on non-touch targets.
Change-Id: I6d058099ebb4c9d0aa5b21cb8b2e01bb4a5965d4
This commit is contained in:
parent
a65d241dd0
commit
84c77d40f5
2 changed files with 2 additions and 2 deletions
|
@ -814,7 +814,6 @@ void cleanup(void)
|
||||||
{
|
{
|
||||||
rb->screens[0]->set_viewport(NULL);
|
rb->screens[0]->set_viewport(NULL);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
static struct touchbutton button[] = {
|
static struct touchbutton button[] = {
|
||||||
|
@ -824,6 +823,7 @@ 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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -358,7 +358,6 @@ 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[] = {
|
||||||
{
|
{
|
||||||
|
@ -367,6 +366,7 @@ 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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue