diff options
Diffstat (limited to 'apps/plugins/logo.c')
-rw-r--r-- | apps/plugins/logo.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/plugins/logo.c b/apps/plugins/logo.c index c96b45adf0..f0d53215ce 100644 --- a/apps/plugins/logo.c +++ b/apps/plugins/logo.c | |||
@@ -195,12 +195,11 @@ const unsigned char rockbox16x7[] = { | |||
195 | #endif | 195 | #endif |
196 | #endif | 196 | #endif |
197 | 197 | ||
198 | enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) { | 198 | enum plugin_status plugin_start(const void* parameter) { |
199 | int button; | 199 | int button; |
200 | int timer = 10; | 200 | int timer = 10; |
201 | int x = (DISPLAY_WIDTH / 2) - (LOGO_WIDTH / 2); | 201 | int x = (DISPLAY_WIDTH / 2) - (LOGO_WIDTH / 2); |
202 | int y = (DISPLAY_HEIGHT / 2) - (LOGO_HEIGHT / 2); | 202 | int y = (DISPLAY_HEIGHT / 2) - (LOGO_HEIGHT / 2); |
203 | const struct plugin_api* rb = api; | ||
204 | int dx; | 203 | int dx; |
205 | int dy; | 204 | int dy; |
206 | #ifdef HAVE_LCD_CHARCELLS | 205 | #ifdef HAVE_LCD_CHARCELLS |
@@ -211,7 +210,7 @@ enum plugin_status plugin_start(const struct plugin_api* api, const void* parame | |||
211 | (void)parameter; | 210 | (void)parameter; |
212 | 211 | ||
213 | #ifdef HAVE_LCD_CHARCELLS | 212 | #ifdef HAVE_LCD_CHARCELLS |
214 | if (!pgfx_init(rb, 4, 2)) { | 213 | if (!pgfx_init(4, 2)) { |
215 | rb->splash(HZ*2, "Old LCD :("); | 214 | rb->splash(HZ*2, "Old LCD :("); |
216 | return PLUGIN_OK; | 215 | return PLUGIN_OK; |
217 | } | 216 | } |