summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugin.c2
-rw-r--r--apps/plugin.h2
-rw-r--r--uisimulator/common/lcd-common.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 15a7e9127f..aa6b65a34a 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -74,7 +74,6 @@ static const struct plugin_api rockbox_api = {
74 /* lcd */ 74 /* lcd */
75 lcd_set_contrast, 75 lcd_set_contrast,
76 lcd_update, 76 lcd_update,
77 lcd_update_rect,
78 lcd_clear_display, 77 lcd_clear_display,
79 lcd_setmargins, 78 lcd_setmargins,
80 lcd_getstringsize, 79 lcd_getstringsize,
@@ -93,6 +92,7 @@ static const struct plugin_api rockbox_api = {
93 lcd_double_height, 92 lcd_double_height,
94#else 93#else
95 &lcd_framebuffer[0][0], 94 &lcd_framebuffer[0][0],
95 lcd_update_rect,
96 lcd_set_drawmode, 96 lcd_set_drawmode,
97 lcd_get_drawmode, 97 lcd_get_drawmode,
98 lcd_setfont, 98 lcd_setfont,
diff --git a/apps/plugin.h b/apps/plugin.h
index 30c04ce76c..1563ed3aec 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -144,7 +144,6 @@ struct plugin_api {
144 /* lcd */ 144 /* lcd */
145 void (*lcd_set_contrast)(int x); 145 void (*lcd_set_contrast)(int x);
146 void (*lcd_update)(void); 146 void (*lcd_update)(void);
147 void (*lcd_update_rect)(int x, int y, int width, int height);
148 void (*lcd_clear_display)(void); 147 void (*lcd_clear_display)(void);
149 void (*lcd_setmargins)(int x, int y); 148 void (*lcd_setmargins)(int x, int y);
150 int (*lcd_getstringsize)(const unsigned char *str, int *w, int *h); 149 int (*lcd_getstringsize)(const unsigned char *str, int *w, int *h);
@@ -163,6 +162,7 @@ struct plugin_api {
163 void (*lcd_double_height)(bool on); 162 void (*lcd_double_height)(bool on);
164#else /* HAVE_LCD_BITMAP */ 163#else /* HAVE_LCD_BITMAP */
165 fb_data* lcd_framebuffer; 164 fb_data* lcd_framebuffer;
165 void (*lcd_update_rect)(int x, int y, int width, int height);
166 void (*lcd_set_drawmode)(int mode); 166 void (*lcd_set_drawmode)(int mode);
167 int (*lcd_get_drawmode)(void); 167 int (*lcd_get_drawmode)(void);
168 void (*lcd_setfont)(int font); 168 void (*lcd_setfont)(int font);
diff --git a/uisimulator/common/lcd-common.c b/uisimulator/common/lcd-common.c
index 51c8215da1..eaadb20489 100644
--- a/uisimulator/common/lcd-common.c
+++ b/uisimulator/common/lcd-common.c
@@ -27,7 +27,7 @@
27void lcd_blit_mono(const unsigned char *data, int x, int y, int width, int height, 27void lcd_blit_mono(const unsigned char *data, int x, int y, int width, int height,
28 int stride) 28 int stride)
29{ 29{
30 (void)p_data; 30 (void)data;
31 (void)x; 31 (void)x;
32 (void)y; 32 (void)y;
33 (void)width; 33 (void)width;