diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/rockboy/rockboy.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/apps/plugins/rockboy/rockboy.c b/apps/plugins/rockboy/rockboy.c index 3b26d935e6..d070fc09bb 100644 --- a/apps/plugins/rockboy/rockboy.c +++ b/apps/plugins/rockboy/rockboy.c | |||
@@ -170,10 +170,6 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
170 | 170 | ||
171 | rb->lcd_setfont(0); | 171 | rb->lcd_setfont(0); |
172 | 172 | ||
173 | #ifdef HAVE_WHEEL_POSITION | ||
174 | rb->wheel_send_events(false); | ||
175 | #endif | ||
176 | |||
177 | #if defined(HAVE_LCD_COLOR) | 173 | #if defined(HAVE_LCD_COLOR) |
178 | rb->lcd_set_foreground(LCD_WHITE); | 174 | rb->lcd_set_foreground(LCD_WHITE); |
179 | rb->lcd_set_background(LCD_BLACK); | 175 | rb->lcd_set_background(LCD_BLACK); |
@@ -203,11 +199,19 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
203 | shut=0; | 199 | shut=0; |
204 | cleanshut=0; | 200 | cleanshut=0; |
205 | 201 | ||
202 | #ifdef HAVE_WHEEL_POSITION | ||
203 | rb->wheel_send_events(false); | ||
204 | #endif | ||
205 | |||
206 | /* now go ahead and have fun! */ | 206 | /* now go ahead and have fun! */ |
207 | /* rb->splash(HZ*2, true, "Rockboy v0.3"); */ | 207 | /* rb->splash(HZ*2, true, "Rockboy v0.3"); */ |
208 | /* rb->lcd_clear_display(); */ | 208 | /* rb->lcd_clear_display(); */ |
209 | gnuboy_main(parameter); | 209 | gnuboy_main(parameter); |
210 | 210 | ||
211 | #ifdef HAVE_WHEEL_POSITION | ||
212 | rb->wheel_send_events(true); | ||
213 | #endif | ||
214 | |||
211 | if(shut&&!cleanshut) | 215 | if(shut&&!cleanshut) |
212 | { | 216 | { |
213 | rb->splash(HZ/2, true, errormsg); | 217 | rb->splash(HZ/2, true, errormsg); |