summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.c2
-rw-r--r--apps/plugin.h2
-rw-r--r--apps/screen_access.c8
3 files changed, 2 insertions, 10 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 90081cc07d..31de9fa56f 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -81,7 +81,7 @@ static const struct plugin_api rockbox_api = {
81 lcd_putc, 81 lcd_putc,
82 lcd_put_cursor, 82 lcd_put_cursor,
83 lcd_remove_cursor, 83 lcd_remove_cursor,
84 PREFIX(lcd_icon), 84 lcd_icon,
85 lcd_double_height, 85 lcd_double_height,
86#else 86#else
87 lcd_set_drawmode, 87 lcd_set_drawmode,
diff --git a/apps/plugin.h b/apps/plugin.h
index cb076f5b85..ccc8d1c3af 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -149,7 +149,7 @@ struct plugin_api {
149 void (*lcd_putc)(int x, int y, unsigned long ucs); 149 void (*lcd_putc)(int x, int y, unsigned long ucs);
150 void (*lcd_put_cursor)(int x, int y, unsigned long ucs); 150 void (*lcd_put_cursor)(int x, int y, unsigned long ucs);
151 void (*lcd_remove_cursor)(void); 151 void (*lcd_remove_cursor)(void);
152 void (*PREFIX(lcd_icon))(int icon, bool enable); 152 void (*lcd_icon)(int icon, bool enable);
153 void (*lcd_double_height)(bool on); 153 void (*lcd_double_height)(bool on);
154#else 154#else
155 void (*lcd_set_drawmode)(int mode); 155 void (*lcd_set_drawmode)(int mode);
diff --git a/apps/screen_access.c b/apps/screen_access.c
index 89b09ad959..03687a3dbb 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -81,11 +81,7 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
81 screen->putc=&lcd_remote_putc; 81 screen->putc=&lcd_remote_putc;
82 screen->get_locked_pattern=&lcd_remote_get_locked_pattern; 82 screen->get_locked_pattern=&lcd_remote_get_locked_pattern;
83 screen->define_pattern=&lcd_remote_define_pattern; 83 screen->define_pattern=&lcd_remote_define_pattern;
84#ifdef SIMULATOR
85 screen->icon=&sim_lcd_remote_icon;
86#else
87 screen->icon=&lcd_remote_icon; 84 screen->icon=&lcd_remote_icon;
88#endif
89#endif /* 0 */ 85#endif /* 0 */
90 86
91 screen->init=&lcd_remote_init; 87 screen->init=&lcd_remote_init;
@@ -164,11 +160,7 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
164 screen->putc=&lcd_putc; 160 screen->putc=&lcd_putc;
165 screen->get_locked_pattern=&lcd_get_locked_pattern; 161 screen->get_locked_pattern=&lcd_get_locked_pattern;
166 screen->define_pattern=&lcd_define_pattern; 162 screen->define_pattern=&lcd_define_pattern;
167#ifdef SIMULATOR
168 screen->icon=&sim_lcd_icon;
169#else
170 screen->icon=&lcd_icon; 163 screen->icon=&lcd_icon;
171#endif
172#endif /* HAVE_LCD_CHARCELLS */ 164#endif /* HAVE_LCD_CHARCELLS */
173 165
174 screen->init=&lcd_init; 166 screen->init=&lcd_init;