diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2002-08-13 21:02:09 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2002-08-13 21:02:09 +0000 |
| commit | 509b42561686174f09b56b16e622f24d2efad774 (patch) | |
| tree | 9297768048ee24505037aac411bd1015ba37a17a | |
| parent | c9ebbaf07eb007f9ff4dc20ab741174131d346a7 (diff) | |
| download | rockbox-509b42561686174f09b56b16e622f24d2efad774.zip rockbox-509b42561686174f09b56b16e622f24d2efad774.tar.gz rockbox-509b42561686174f09b56b16e622f24d2efad774.tar.bz2 rockbox-509b42561686174f09b56b16e622f24d2efad774.tar.xz | |
Removed warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1725 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/drivers/lcd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c index ff02783..1c2ecb2 100644 --- a/firmware/drivers/lcd.c +++ b/firmware/drivers/lcd.c @@ -322,8 +322,6 @@ static void lcd_write(bool command, int byte) #endif /* ASM_IMPLEMENTATION */ #endif /* !SIMULATOR */ -static unsigned char icon_mirror[11]; - /*** model specific code */ #ifdef HAVE_LCD_CHARCELLS @@ -472,6 +470,7 @@ static char icon_mask[] = void lcd_icon(int icon, bool enable) { + static unsigned char icon_mirror[11] = {0}; int pos, mask; pos = icon_pos[icon]; @@ -506,7 +505,6 @@ void lcd_init (void) #if defined(LOADABLE_FONTS) && defined(SIMULATOR) lcd_init_fonts(); #endif - memset(icon_mirror, sizeof(icon_mirror), 0); } #endif |