summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/sys_rockbox.c
diff options
context:
space:
mode:
authorTom Ross <midgey@rockbox.org>2007-10-16 18:16:22 +0000
committerTom Ross <midgey@rockbox.org>2007-10-16 18:16:22 +0000
commit437c3e40ca7579acc20b648319447045649b0873 (patch)
tree5504a232c510dff3f3872d8c7dee388fcbfafeb5 /apps/plugins/rockboy/sys_rockbox.c
parent0b911fefea7615105244098da1baf4655fa1e721 (diff)
Code police and clean up for rockboy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15144 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/sys_rockbox.c')
-rw-r--r--apps/plugins/rockboy/sys_rockbox.c5
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) */