Fix iaudio reds and crazy deltas, both caused by stupid typos.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22177 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2009-08-06 00:37:52 +00:00
parent 4764ee04c9
commit 442e791c71
2 changed files with 8 additions and 8 deletions

View file

@ -27,9 +27,9 @@
#endif
#include "backdrop.h"
static fb_data main_backdrop[LCD_FBHEIGHT][LCD_FBHEIGHT]
static fb_data main_backdrop[LCD_FBHEIGHT][LCD_FBWIDTH]
__attribute__ ((aligned (16)));
static fb_data skin_backdrop[LCD_FBHEIGHT][LCD_FBHEIGHT]
static fb_data skin_backdrop[LCD_FBHEIGHT][LCD_FBWIDTH]
__attribute__ ((aligned (16)));
#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
@ -155,6 +155,11 @@ static inline void unload_remote_skin_backdrop(void)
remote_skin_backdrop_valid = false;
}
static inline void show_remote_main_backdrop(void)
{
lcd_remote_set_backdrop(NULL);
}
static inline void show_remote_skin_backdrop(void)
{
/* if no wps backdrop, fall back to main backdrop */
@ -168,11 +173,6 @@ static inline void show_remote_skin_backdrop(void)
}
}
static line void show_remote_main_backdrop(void)
{
lcd_remote_set_backdrop(NULL);
}
/* api functions */
bool remote_backdrop_load(enum backdrop_type bdrop,

View file

@ -59,7 +59,7 @@ static inline void backdrop_show(enum backdrop_type bdrop)
/* no main backdrop, stubs! */
#if LCD_REMOTE_DEPTH > 1
bool remote_backdrop_load(enum backdrop_type bdrop,const char* filename);
void remote_backdropunload(enum backdrop_type bdrop);
void remote_backdrop_unload(enum backdrop_type bdrop);
void remote_backdrop_show(enum backdrop_type bdrop);
#else
static inline