diff options
Diffstat (limited to 'firmware/drivers/lcd-charset-player.c')
-rw-r--r-- | firmware/drivers/lcd-charset-player.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/lcd-charset-player.c b/firmware/drivers/lcd-charset-player.c index 24c0f65ee0..8218535ac2 100644 --- a/firmware/drivers/lcd-charset-player.c +++ b/firmware/drivers/lcd-charset-player.c | |||
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | #include "lcd-charcell.h" | 23 | #include "lcd-charcell.h" |
24 | 24 | ||
25 | int hw_pattern_count; /* actual number of user-definable hw patterns */ | 25 | int lcd_pattern_count; /* actual number of user-definable hw patterns */ |
26 | 26 | ||
27 | const struct xchar_info *xchar_info; | 27 | const struct xchar_info *xchar_info; |
28 | int xchar_info_size; /* number of entries */ | 28 | int xchar_info_size; /* number of entries */ |
@@ -1237,13 +1237,13 @@ void lcd_charset_init(void) | |||
1237 | { | 1237 | { |
1238 | if (is_new_player()) | 1238 | if (is_new_player()) |
1239 | { | 1239 | { |
1240 | hw_pattern_count = 8; | 1240 | lcd_pattern_count = 8; |
1241 | xchar_info = xchar_info_newlcd; | 1241 | xchar_info = xchar_info_newlcd; |
1242 | xchar_info_size = sizeof(xchar_info_newlcd)/sizeof(struct xchar_info); | 1242 | xchar_info_size = sizeof(xchar_info_newlcd)/sizeof(struct xchar_info); |
1243 | } | 1243 | } |
1244 | else /* old lcd */ | 1244 | else /* old lcd */ |
1245 | { | 1245 | { |
1246 | hw_pattern_count = 4; | 1246 | lcd_pattern_count = 4; |
1247 | xchar_info = xchar_info_oldlcd; | 1247 | xchar_info = xchar_info_oldlcd; |
1248 | xchar_info_size = sizeof(xchar_info_oldlcd)/sizeof(struct xchar_info); | 1248 | xchar_info_size = sizeof(xchar_info_oldlcd)/sizeof(struct xchar_info); |
1249 | } | 1249 | } |