1
0
Fork 0
forked from len0rd/rockbox

Make the LCD remote work in the iAudio M3, M5 and X5 bootloaders. * Fix viewport related init bug in the 2 bit vertically interleaved LCD driver. * Fix low bat warning in iaudio bootloader - voltages are in millivolts now.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16648 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2008-03-12 23:08:33 +00:00
parent 579089afa5
commit 17bc340f1f
7 changed files with 69 additions and 59 deletions

View file

@ -65,7 +65,7 @@ static struct viewport default_vp =
.bg_pattern = LCDM(DEFAULT_BG)
};
static struct viewport IDATA_ATTR *current_vp = &default_vp;
static struct viewport *current_vp IBSS_ATTR;
static unsigned fg_pattern IBSS_ATTR;
static unsigned bg_pattern IBSS_ATTR;
@ -97,6 +97,7 @@ void LCDFN(update_viewport_rect)(int x, int y, int width, int height)
/* LCD init */
void LCDFN(init)(void)
{
LCDFN(set_viewport)(NULL);
LCDFN(clear_display)();
#ifndef SIMULATOR
LCDFN(init_device)();