diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-10-11 22:17:34 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-10-11 22:17:34 +0000 |
commit | 8279abe38eeea72f6f883a3fe558412cea7e4aa7 (patch) | |
tree | 63c290614475c0330190a7e831f95dc27cea11eb | |
parent | 1017e25438b3ca129dbe81e3d78f8f665fa39b27 (diff) | |
download | rockbox-8279abe38eeea72f6f883a3fe558412cea7e4aa7.tar.gz rockbox-8279abe38eeea72f6f883a3fe558412cea7e4aa7.zip |
declare the lcd_framebuffer "nicer" in the #ifdef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2593 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/drivers/lcd-recorder.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c index 25497723ba..1c899307ed 100644 --- a/firmware/drivers/lcd-recorder.c +++ b/firmware/drivers/lcd-recorder.c | |||
@@ -90,11 +90,10 @@ static int xmargin = 0; | |||
90 | static int ymargin = 0; | 90 | static int ymargin = 0; |
91 | static int curfont = FONT_SYSFIXED; | 91 | static int curfont = FONT_SYSFIXED; |
92 | 92 | ||
93 | #ifdef SIMULATOR | 93 | #ifndef SIMULATOR |
94 | unsigned char lcd_framebuffer[LCD_WIDTH][LCD_HEIGHT/8]; | 94 | static |
95 | #else | ||
96 | static unsigned char lcd_framebuffer[LCD_WIDTH][LCD_HEIGHT/8]; | ||
97 | #endif | 95 | #endif |
96 | unsigned char lcd_framebuffer[LCD_WIDTH][LCD_HEIGHT/8]; | ||
98 | 97 | ||
99 | /* All zeros and ones bitmaps for area filling */ | 98 | /* All zeros and ones bitmaps for area filling */ |
100 | static unsigned char zeros[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; | 99 | static unsigned char zeros[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; |