summaryrefslogtreecommitdiff
path: root/apps/plugins/fireworks.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/fireworks.c')
-rw-r--r--apps/plugins/fireworks.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugins/fireworks.c b/apps/plugins/fireworks.c
index f564b68b85..08d4e00d68 100644
--- a/apps/plugins/fireworks.c
+++ b/apps/plugins/fireworks.c
@@ -17,6 +17,7 @@
17 * 17 *
18 ****************************************************************************/ 18 ****************************************************************************/
19#include "plugin.h" 19#include "plugin.h"
20#include "oldmenuapi.h"
20 21
21PLUGIN_HEADER 22PLUGIN_HEADER
22 23
@@ -303,14 +304,14 @@ void fireworks_menu(void)
303 rb->lcd_clear_display(); 304 rb->lcd_clear_display();
304 rb->lcd_update(); 305 rb->lcd_update();
305 306
306 m = rb->menu_init(items, sizeof(items) / sizeof(*items), 307 m = menu_init(rb, items, sizeof(items) / sizeof(*items),
307 NULL, NULL, NULL, NULL); 308 NULL, NULL, NULL, NULL);
308 309
309 rb->button_clear_queue(); 310 rb->button_clear_queue();
310 311
311 while(!menu_quit) 312 while(!menu_quit)
312 { 313 {
313 result = rb->menu_show(m); 314 result = menu_show(m);
314 315
315 switch(result) 316 switch(result)
316 { 317 {
@@ -360,7 +361,7 @@ void fireworks_menu(void)
360 } 361 }
361 } 362 }
362 363
363 rb->menu_exit(m); 364 menu_exit(m);
364} 365}
365 366
366/* this is the plugin entry point */ 367/* this is the plugin entry point */