summaryrefslogtreecommitdiff
path: root/apps/plugins/zxbox/zxbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/zxbox/zxbox.c')
-rw-r--r--apps/plugins/zxbox/zxbox.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/plugins/zxbox/zxbox.c b/apps/plugins/zxbox/zxbox.c
index 753fb1ff5b..cfc4e5d1c4 100644
--- a/apps/plugins/zxbox/zxbox.c
+++ b/apps/plugins/zxbox/zxbox.c
@@ -61,14 +61,16 @@ long start_time IBSS_ATTR = 0;
61enum plugin_status plugin_start(struct plugin_api* api, void* parameter) 61enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
62{ 62{
63 63
64 rb = api;
65#if CODEC == SWCODEC && !defined SIMULATOR 64#if CODEC == SWCODEC && !defined SIMULATOR
66 rb->pcm_play_stop(); 65 api->pcm_play_stop();
67#endif 66#endif
67
68 PLUGIN_IRAM_INIT(api)
69
70 rb = api;
68 rb->lcd_set_backdrop(NULL); 71 rb->lcd_set_backdrop(NULL);
69 rb->splash(HZ, true, "Welcome to ZXBox"); 72 rb->splash(HZ, true, "Welcome to ZXBox");
70 73
71 PLUGIN_IRAM_INIT(rb)
72 74
73 sp_init(); 75 sp_init();
74 76