summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/mpeg_settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer/mpeg_settings.c')
-rw-r--r--apps/plugins/mpegplayer/mpeg_settings.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugins/mpegplayer/mpeg_settings.c b/apps/plugins/mpegplayer/mpeg_settings.c
index c692edf861..964bad08bd 100644
--- a/apps/plugins/mpegplayer/mpeg_settings.c
+++ b/apps/plugins/mpegplayer/mpeg_settings.c
@@ -1,5 +1,6 @@
1#include "plugin.h" 1#include "plugin.h"
2#include "lib/configfile.h" 2#include "lib/configfile.h"
3#include "lib/oldmenuapi.h"
3 4
4#include "mpeg_settings.h" 5#include "mpeg_settings.h"
5 6
@@ -41,13 +42,13 @@ bool mpeg_menu(void)
41 { "Quit mpegplayer", NULL }, 42 { "Quit mpegplayer", NULL },
42 }; 43 };
43 44
44 m = rb->menu_init(items, sizeof(items) / sizeof(*items), 45 m = menu_init(rb, items, sizeof(items) / sizeof(*items),
45 NULL, NULL, NULL, NULL); 46 NULL, NULL, NULL, NULL);
46 47
47 rb->button_clear_queue(); 48 rb->button_clear_queue();
48 49
49 while (!menu_quit) { 50 while (!menu_quit) {
50 result=rb->menu_show(m); 51 result=menu_show(m);
51 52
52 switch(result) 53 switch(result)
53 { 54 {
@@ -71,7 +72,7 @@ bool mpeg_menu(void)
71 } 72 }
72 } 73 }
73 74
74 rb->menu_exit(m); 75 menu_exit(m);
75 76
76 rb->lcd_clear_display(); 77 rb->lcd_clear_display();
77 rb->lcd_update(); 78 rb->lcd_update();