mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
Sansa Connect: Fix GIO initialization and screen wakeup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31119 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
488ee77ea2
commit
5e805f2041
4 changed files with 28 additions and 25 deletions
|
|
@ -53,6 +53,13 @@ static void _backlight_write_brightness(int brightness)
|
|||
|
||||
void _backlight_on(void)
|
||||
{
|
||||
#ifdef HAVE_LCD_SLEEP
|
||||
if (!lcd_active())
|
||||
{
|
||||
lcd_awake();
|
||||
lcd_update();
|
||||
}
|
||||
#endif
|
||||
/* set GIO34 as PWM1 */
|
||||
IO_GIO_FSEL3 = (IO_GIO_FSEL3 & 0xFFF3) | (1 << 2);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue