summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/lcd.c')
-rw-r--r--firmware/drivers/lcd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c
index ff02783da4..1c2ecb22a3 100644
--- a/firmware/drivers/lcd.c
+++ b/firmware/drivers/lcd.c
@@ -322,8 +322,6 @@ static void lcd_write(bool command, int byte)
322#endif /* ASM_IMPLEMENTATION */ 322#endif /* ASM_IMPLEMENTATION */
323#endif /* !SIMULATOR */ 323#endif /* !SIMULATOR */
324 324
325static unsigned char icon_mirror[11];
326
327/*** model specific code */ 325/*** model specific code */
328 326
329#ifdef HAVE_LCD_CHARCELLS 327#ifdef HAVE_LCD_CHARCELLS
@@ -472,6 +470,7 @@ static char icon_mask[] =
472 470
473void lcd_icon(int icon, bool enable) 471void lcd_icon(int icon, bool enable)
474{ 472{
473 static unsigned char icon_mirror[11] = {0};
475 int pos, mask; 474 int pos, mask;
476 475
477 pos = icon_pos[icon]; 476 pos = icon_pos[icon];
@@ -506,7 +505,6 @@ void lcd_init (void)
506#if defined(LOADABLE_FONTS) && defined(SIMULATOR) 505#if defined(LOADABLE_FONTS) && defined(SIMULATOR)
507 lcd_init_fonts(); 506 lcd_init_fonts();
508#endif 507#endif
509 memset(icon_mirror, sizeof(icon_mirror), 0);
510} 508}
511#endif 509#endif
512 510