diff options
Diffstat (limited to 'apps/plugins/beatbox/beatbox.c')
-rw-r--r-- | apps/plugins/beatbox/beatbox.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/plugins/beatbox/beatbox.c b/apps/plugins/beatbox/beatbox.c index 45f0eb70b5..ef391987fb 100644 --- a/apps/plugins/beatbox/beatbox.c +++ b/apps/plugins/beatbox/beatbox.c | |||
@@ -180,8 +180,6 @@ const unsigned char * drumNames[]={ | |||
180 | long gmbuf[BUF_SIZE*NBUF]; | 180 | long gmbuf[BUF_SIZE*NBUF]; |
181 | 181 | ||
182 | int quit=0; | 182 | int quit=0; |
183 | const struct plugin_api * rb; | ||
184 | |||
185 | 183 | ||
186 | #define STATE_STOPPED 0 | 184 | #define STATE_STOPPED 0 |
187 | #define STATE_PAUSED 1 | 185 | #define STATE_PAUSED 1 |
@@ -234,13 +232,11 @@ int editState=EDITSTATE_PATTERN; | |||
234 | int playState=STATE_STOPPED, stepFlag=0; | 232 | int playState=STATE_STOPPED, stepFlag=0; |
235 | 233 | ||
236 | 234 | ||
237 | enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) | 235 | enum plugin_status plugin_start(const void* parameter) |
238 | { | 236 | { |
239 | int retval = 0; | 237 | int retval = 0; |
240 | 238 | ||
241 | PLUGIN_IRAM_INIT(api) | 239 | PLUGIN_IRAM_INIT(rb) |
242 | |||
243 | rb = api; | ||
244 | 240 | ||
245 | rb->lcd_setfont(0); | 241 | rb->lcd_setfont(0); |
246 | 242 | ||