summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorMats Lidell <matsl@rockbox.org>2003-01-20 12:24:43 +0000
committerMats Lidell <matsl@rockbox.org>2003-01-20 12:24:43 +0000
commitbd1fa21cc054c6b69ae35ec845b4623405c32d33 (patch)
tree2d1a7741c7bf2ebf57b8cafbbc1f1ba1e5fe2220 /firmware/drivers
parentdc056b09792b963c73b2b1362cbe3eabde9d1a41 (diff)
Export info about the charset.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3133 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/lcd-player-charset.c3
-rw-r--r--firmware/drivers/lcd-player-charset.h2
-rw-r--r--firmware/drivers/lcd-player.c2
3 files changed, 3 insertions, 4 deletions
diff --git a/firmware/drivers/lcd-player-charset.c b/firmware/drivers/lcd-player-charset.c
index 64d619ae9f..523158f49f 100644
--- a/firmware/drivers/lcd-player-charset.c
+++ b/firmware/drivers/lcd-player-charset.c
@@ -22,9 +22,6 @@
#include "lcd-player-charset.h"
-#define NOCHAR_OLD 0x24
-#define NOCHAR_NEW 0x20
-
unsigned short new_lcd_rocklatin1_to_xlcd[] =
{
NOCHAR_NEW, /* 0x00 reserved never to be used */
diff --git a/firmware/drivers/lcd-player-charset.h b/firmware/drivers/lcd-player-charset.h
index 846df40117..2789f8da70 100644
--- a/firmware/drivers/lcd-player-charset.h
+++ b/firmware/drivers/lcd-player-charset.h
@@ -21,5 +21,7 @@
#define NO_EXTENDED_LCD_CHARS 0x5e
#define RESERVED_CHAR 0xff
#define LAST_RESERVED_CHAR 0x17
+#define NOCHAR_OLD 0x24
+#define NOCHAR_NEW 0x20
#endif
diff --git a/firmware/drivers/lcd-player.c b/firmware/drivers/lcd-player.c
index 28bbfabd34..17e3923715 100644
--- a/firmware/drivers/lcd-player.c
+++ b/firmware/drivers/lcd-player.c
@@ -90,7 +90,7 @@ static char pattern_size; /* Last pattern, 3 for old LCD, 7 for new LCD */
static bool new_lcd;
-unsigned short *lcd_ascii;
+extern unsigned short *lcd_ascii;
static char lcd_contrast_set;
static char lcd_cram;
static char lcd_pram;