forked from len0rd/rockbox
IRiver: extended plugin api with current remote lcd functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6295 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7e01562114
commit
c63430e935
3 changed files with 26 additions and 1 deletions
|
|
@ -54,6 +54,10 @@
|
|||
#include "widgets.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
#include "lcd-remote.h"
|
||||
#endif
|
||||
|
||||
#if MEM >= 32
|
||||
#define PLUGIN_BUFFER_SIZE 0xC0000
|
||||
#else
|
||||
|
|
@ -128,7 +132,14 @@ static const struct plugin_api rockbox_api = {
|
|||
backlight_off,
|
||||
backlight_set_timeout,
|
||||
splash,
|
||||
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
lcd_remote_clear_display,
|
||||
lcd_remote_backlight_on,
|
||||
lcd_remote_backlight_off,
|
||||
lcd_remote_set_contrast,
|
||||
lcd_remote_update,
|
||||
&lcd_remote_framebuffer[0][0],
|
||||
#endif
|
||||
/* button */
|
||||
button_get,
|
||||
button_get_w_tmo,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue