fix red... lets branch

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24341 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-01-27 07:15:55 +00:00
parent 2565389402
commit 0677405ab1
2 changed files with 9 additions and 3 deletions

View file

@ -288,7 +288,8 @@ struct screen screens[NB_SCREENS] =
.backlight_off=&remote_backlight_off, .backlight_off=&remote_backlight_off,
.is_backlight_on=&is_remote_backlight_on, .is_backlight_on=&is_remote_backlight_on,
.backlight_set_timeout=&remote_backlight_set_timeout, .backlight_set_timeout=&remote_backlight_set_timeout,
#if LCD_DEPTH > 1
#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
.backdrop_load=&remote_backdrop_load, .backdrop_load=&remote_backdrop_load,
.backdrop_unload=&remote_backdrop_unload, .backdrop_unload=&remote_backdrop_unload,
.backdrop_show=&remote_backdrop_show, .backdrop_show=&remote_backdrop_show,

View file

@ -183,6 +183,11 @@ int remote_getwidth(void) { return LCD_REMOTE_WIDTH; }
int remote_getheight(void) { return LCD_REMOTE_HEIGHT; } int remote_getheight(void) { return LCD_REMOTE_HEIGHT; }
#endif #endif
static inline bool backdrop_load(enum backdrop_type bdrop, const char* filename)
{
(void)filename; (void)bdrop; return true;
}
struct screen screens[NB_SCREENS] = struct screen screens[NB_SCREENS] =
{ {
{ {
@ -200,8 +205,8 @@ struct screen screens[NB_SCREENS] =
#if LCD_DEPTH > 1 #if LCD_DEPTH > 1
.get_foreground=dummy_func2, .get_foreground=dummy_func2,
.get_background=dummy_func2, .get_background=dummy_func2,
#endif
.backdrop_load=backdrop_load, .backdrop_load=backdrop_load,
#endif
}, },
#ifdef HAVE_REMOTE_LCD #ifdef HAVE_REMOTE_LCD
{ {
@ -215,8 +220,8 @@ struct screen screens[NB_SCREENS] =
#if LCD_REMOTE_DEPTH > 1 #if LCD_REMOTE_DEPTH > 1
.get_foreground=dummy_func2, .get_foreground=dummy_func2,
.get_background=dummy_func2, .get_background=dummy_func2,
#endif
.backdrop_load=backdrop_load, .backdrop_load=backdrop_load,
#endif
} }
#endif #endif
}; };