forked from len0rd/rockbox
H300: add a small delay between lcd enable and backlight on. Avoids a flash at backlight on when using dark backgrounds. (fix for bug 4764)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9815 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
52ad3893ca
commit
171b5ff207
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ static inline void __backlight_on(void)
|
||||||
and_l(~0x00020000, &GPIO1_OUT);
|
and_l(~0x00020000, &GPIO1_OUT);
|
||||||
#elif CONFIG_BACKLIGHT == BL_IRIVER_H300
|
#elif CONFIG_BACKLIGHT == BL_IRIVER_H300
|
||||||
lcd_enable(true);
|
lcd_enable(true);
|
||||||
|
sleep(HZ/100); /* lcd needs time - avoid flashing for dark screens */
|
||||||
or_l(0x00020000, &GPIO1_OUT);
|
or_l(0x00020000, &GPIO1_OUT);
|
||||||
#elif CONFIG_BACKLIGHT == BL_RTC
|
#elif CONFIG_BACKLIGHT == BL_RTC
|
||||||
/* Enable square wave */
|
/* Enable square wave */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue