summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-01-29 21:47:56 +0100
committerThomas Martitz <kugel@rockbox.org>2012-01-29 22:35:49 +0100
commit476fcfa53858747ffde57014bbc77682018f1d8e (patch)
tree9558678a452fe087716433d3a713ed7c38d5bce3
parentf57e5a2ae3b9d3c1ae4aa51e96d4b2aea700262f (diff)
downloadrockbox-476fcfa53858747ffde57014bbc77682018f1d8e.tar.gz
rockbox-476fcfa53858747ffde57014bbc77682018f1d8e.zip
Revert "Fix building test plugins on non-touch targets."
This reverts commit 84c77d40f512b5052edec1b9c283b0bea0b68b27. The commit used an unrelated define which doesn't actually work.
-rw-r--r--apps/plugins/test_codec.c2
-rw-r--r--apps/plugins/test_fps.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c
index 8c3c88f9e7..50d3fc93ef 100644
--- a/apps/plugins/test_codec.c
+++ b/apps/plugins/test_codec.c
@@ -814,6 +814,7 @@ void cleanup(void)
814{ 814{
815 rb->screens[0]->set_viewport(NULL); 815 rb->screens[0]->set_viewport(NULL);
816} 816}
817#endif
817 818
818 819
819static struct touchbutton button[] = { 820static struct touchbutton button[] = {
@@ -823,7 +824,6 @@ static struct touchbutton button[] = {
823 /* viewport runtime initialized, rest false/NULL */ 824 /* viewport runtime initialized, rest false/NULL */
824 } 825 }
825}; 826};
826#endif
827 827
828void plugin_quit(void) 828void plugin_quit(void)
829{ 829{
diff --git a/apps/plugins/test_fps.c b/apps/plugins/test_fps.c
index 75289a1f90..caabde4d1b 100644
--- a/apps/plugins/test_fps.c
+++ b/apps/plugins/test_fps.c
@@ -358,6 +358,7 @@ static void time_greyscale(void)
358 log_text("CPU load err (boost?)"); 358 log_text("CPU load err (boost?)");
359 } 359 }
360} 360}
361#endif
361 362
362static struct touchbutton button[] = { 363static struct touchbutton button[] = {
363 { 364 {
@@ -366,7 +367,6 @@ static struct touchbutton button[] = {
366 /* viewport runtime initialized, rest false/NULL */ 367 /* viewport runtime initialized, rest false/NULL */
367 } 368 }
368}; 369};
369#endif
370 370
371void plugin_quit(void) 371void plugin_quit(void)
372{ 372{