summaryrefslogtreecommitdiffstats
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 0bcf17ccd7..2062c8800e 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -52,6 +52,7 @@
#ifdef HAVE_LCD_BITMAP
#include "peakmeter.h"
#include "widgets.h"
+#include "bmp.h"
#endif
#ifdef HAVE_REMOTE_LCD
@@ -133,13 +134,13 @@ static const struct plugin_api rockbox_api = {
backlight_set_timeout,
splash,
#ifdef HAVE_REMOTE_LCD
- lcd_remote_clear_display,
+ lcd_remote_clear_display,
lcd_remote_backlight_on,
lcd_remote_backlight_off,
- lcd_remote_set_contrast,
- lcd_remote_update,
- lcd_remote_bitmap,
- &lcd_remote_framebuffer[0][0],
+ lcd_remote_set_contrast,
+ lcd_remote_update,
+ lcd_remote_bitmap,
+ &lcd_remote_framebuffer[0][0],
#endif
/* button */
button_get,
@@ -292,6 +293,9 @@ static const struct plugin_api rockbox_api = {
pcm_set_volume,
pcm_play_pause,
#endif
+#ifdef HAVE_LCD_BITMAP
+ read_bmp_file,
+#endif
};
int plugin_load(const char* plugin, void* parameter)