summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
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;