diff options
Diffstat (limited to 'apps/plugins/test_codec.c')
-rw-r--r-- | apps/plugins/test_codec.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index 50d3fc93ef..3e13842cfb 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c | |||
@@ -816,19 +816,15 @@ void cleanup(void) | |||
816 | } | 816 | } |
817 | #endif | 817 | #endif |
818 | 818 | ||
819 | |||
820 | static struct touchbutton button[] = { | ||
821 | { | ||
822 | .action = ACTION_STD_OK, | ||
823 | .title = "OK", | ||
824 | /* viewport runtime initialized, rest false/NULL */ | ||
825 | } | ||
826 | }; | ||
827 | |||
828 | void plugin_quit(void) | 819 | void plugin_quit(void) |
829 | { | 820 | { |
830 | int btn; | 821 | int btn; |
831 | #ifdef HAVE_TOUCHSCREEN | 822 | #ifdef HAVE_TOUCHSCREEN |
823 | static struct touchbutton button[] = {{ | ||
824 | .action = ACTION_STD_OK, | ||
825 | .title = "OK", | ||
826 | /* viewport runtime initialized, rest false/NULL */ | ||
827 | }}; | ||
832 | struct viewport *vp = &button[0].vp; | 828 | struct viewport *vp = &button[0].vp; |
833 | struct screen *lcd = rb->screens[SCREEN_MAIN]; | 829 | struct screen *lcd = rb->screens[SCREEN_MAIN]; |
834 | rb->viewport_set_defaults(vp, SCREEN_MAIN); | 830 | rb->viewport_set_defaults(vp, SCREEN_MAIN); |