diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index 50d3fc93ef..8c3c88f9e7 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c @@ -814,7 +814,6 @@ void cleanup(void) { rb->screens[0]->set_viewport(NULL); } -#endif static struct touchbutton button[] = { @@ -824,6 +823,7 @@ static struct touchbutton button[] = { /* viewport runtime initialized, rest false/NULL */ } }; +#endif void plugin_quit(void) { diff --git a/apps/plugins/test_fps.c b/apps/plugins/test_fps.c index caabde4d1b..75289a1f90 100644 --- a/apps/plugins/test_fps.c +++ b/apps/plugins/test_fps.c @@ -358,7 +358,6 @@ static void time_greyscale(void) log_text("CPU load err (boost?)"); } } -#endif static struct touchbutton button[] = { { @@ -367,6 +366,7 @@ static struct touchbutton button[] = { /* viewport runtime initialized, rest false/NULL */ } }; +#endif void plugin_quit(void) {