diff options
Diffstat (limited to 'apps/plugins/rockboy/sys_rockbox.c')
-rw-r--r-- | apps/plugins/rockboy/sys_rockbox.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/plugins/rockboy/sys_rockbox.c b/apps/plugins/rockboy/sys_rockbox.c index fe3326737d..313e8ae46b 100644 --- a/apps/plugins/rockboy/sys_rockbox.c +++ b/apps/plugins/rockboy/sys_rockbox.c @@ -24,12 +24,10 @@ #include "hw.h" #include "config.h" -#if (CONFIG_KEYPAD == SANSA_E200_PAD) - +#if CONFIG_KEYPAD == SANSA_E200_PAD #define ROCKBOY_SCROLLWHEEL #define ROCKBOY_SCROLLWHEEL_CC BUTTON_SCROLL_UP #define ROCKBOY_SCROLLWHEEL_CW BUTTON_SCROLL_DOWN - #endif struct fb fb IBSS_ATTR; @@ -210,7 +208,6 @@ inline void vid_begin(void) void vid_init(void) { fb.enabled=1; - fb.ptr=rb->lcd_framebuffer; #if defined(HAVE_LCD_COLOR) fb.cc[0].r = 3; /* 8-5 (wasted bits on red) */ |