summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/lib/playergfx.h3
-rw-r--r--apps/plugins/logo.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugins/lib/playergfx.h b/apps/plugins/lib/playergfx.h
index a0e3973dd4..198d98e4ad 100644
--- a/apps/plugins/lib/playergfx.h
+++ b/apps/plugins/lib/playergfx.h
@@ -45,5 +45,8 @@ void pgfx_bitmap_part(const unsigned char *src, int src_x, int src_y,
45 int stride, int x, int y, int width, int height); 45 int stride, int x, int y, int width, int height);
46void pgfx_bitmap(const unsigned char *src, int x, int y, int width, int height); 46void pgfx_bitmap(const unsigned char *src, int x, int y, int width, int height);
47 47
48#define pgfx_mono_bitmap_part pgfx_bitmap_part
49#define pgfx_mono_bitmap pgfx_bitmap
50
48#endif /* HAVE_LCD_CHARCELLS */ 51#endif /* HAVE_LCD_CHARCELLS */
49#endif /* __PGFX_H__ */ 52#endif /* __PGFX_H__ */
diff --git a/apps/plugins/logo.c b/apps/plugins/logo.c
index ad8b8fd025..baaf46f911 100644
--- a/apps/plugins/logo.c
+++ b/apps/plugins/logo.c
@@ -233,14 +233,14 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) {
233 rb->lcd_mono_bitmap(LOGO, x, y, LOGO_WIDTH, LOGO_HEIGHT); 233 rb->lcd_mono_bitmap(LOGO, x, y, LOGO_WIDTH, LOGO_HEIGHT);
234#ifdef REMOTE_LOGO 234#ifdef REMOTE_LOGO
235 rb->lcd_remote_clear_display(); 235 rb->lcd_remote_clear_display();
236 rb->lcd_remote_bitmap(REMOTE_LOGO, 236 rb->lcd_remote_mono_bitmap(REMOTE_LOGO,
237 (x * (REMOTE_WIDTH - REMOTE_LOGO_WIDTH)) / (DISPLAY_WIDTH - LOGO_WIDTH), 237 (x * (REMOTE_WIDTH - REMOTE_LOGO_WIDTH)) / (DISPLAY_WIDTH - LOGO_WIDTH),
238 (y * (REMOTE_HEIGHT - REMOTE_LOGO_HEIGHT)) / (DISPLAY_HEIGHT - LOGO_HEIGHT), 238 (y * (REMOTE_HEIGHT - REMOTE_LOGO_HEIGHT)) / (DISPLAY_HEIGHT - LOGO_HEIGHT),
239 REMOTE_LOGO_WIDTH, REMOTE_LOGO_HEIGHT); 239 REMOTE_LOGO_WIDTH, REMOTE_LOGO_HEIGHT);
240#endif 240#endif
241#else 241#else
242 pgfx_clear_display(); 242 pgfx_clear_display();
243 pgfx_bitmap(LOGO, x % 5, y, LOGO_WIDTH, LOGO_HEIGHT); 243 pgfx_mono_bitmap(LOGO, x % 5, y, LOGO_WIDTH, LOGO_HEIGHT);
244 cpos = x / 5; 244 cpos = x / 5;
245#endif 245#endif
246 246