It's not necessary (anymore?) to map lcd_icon() to sim_lcd_icon() for the simulator. * Removed a stray lcd_icon() call from usb handling.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13006 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2007-04-03 18:06:13 +00:00
parent bbe1eaf89e
commit 323d75d25f
7 changed files with 2 additions and 43 deletions

View file

@ -81,7 +81,7 @@ static const struct plugin_api rockbox_api = {
lcd_putc,
lcd_put_cursor,
lcd_remove_cursor,
PREFIX(lcd_icon),
lcd_icon,
lcd_double_height,
#else
lcd_set_drawmode,

View file

@ -149,7 +149,7 @@ struct plugin_api {
void (*lcd_putc)(int x, int y, unsigned long ucs);
void (*lcd_put_cursor)(int x, int y, unsigned long ucs);
void (*lcd_remove_cursor)(void);
void (*PREFIX(lcd_icon))(int icon, bool enable);
void (*lcd_icon)(int icon, bool enable);
void (*lcd_double_height)(bool on);
#else
void (*lcd_set_drawmode)(int mode);

View file

@ -81,11 +81,7 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
screen->putc=&lcd_remote_putc;
screen->get_locked_pattern=&lcd_remote_get_locked_pattern;
screen->define_pattern=&lcd_remote_define_pattern;
#ifdef SIMULATOR
screen->icon=&sim_lcd_remote_icon;
#else
screen->icon=&lcd_remote_icon;
#endif
#endif /* 0 */
screen->init=&lcd_remote_init;
@ -164,11 +160,7 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
screen->putc=&lcd_putc;
screen->get_locked_pattern=&lcd_get_locked_pattern;
screen->define_pattern=&lcd_define_pattern;
#ifdef SIMULATOR
screen->icon=&sim_lcd_icon;
#else
screen->icon=&lcd_icon;
#endif
#endif /* HAVE_LCD_CHARCELLS */
screen->init=&lcd_init;