diff options
Diffstat (limited to 'apps/plugins/zxbox')
| -rw-r--r-- | apps/plugins/zxbox/zxbox.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/plugins/zxbox/zxbox.c b/apps/plugins/zxbox/zxbox.c index 753fb1f..cfc4e5d 100644 --- a/apps/plugins/zxbox/zxbox.c +++ b/apps/plugins/zxbox/zxbox.c @@ -61,14 +61,16 @@ long start_time IBSS_ATTR = 0; enum plugin_status plugin_start(struct plugin_api* api, void* parameter) { - rb = api; #if CODEC == SWCODEC && !defined SIMULATOR - rb->pcm_play_stop(); + api->pcm_play_stop(); #endif + + PLUGIN_IRAM_INIT(api) + + rb = api; rb->lcd_set_backdrop(NULL); rb->splash(HZ, true, "Welcome to ZXBox"); - PLUGIN_IRAM_INIT(rb) sp_init(); |