forked from len0rd/rockbox
Accepted FS #5772 by Michael Sevakis
1. X5 lcd sleep 2. #define HAVE_LCD_ENABLE 3. add "backlight (on hold switch)" setting, adapted from FS #5735 Note that the while(1) yield ==> asm("halt") part is NOT commited here, I prefer it would be discussed separately. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10489 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f8866a3a9c
commit
c9f59e6f75
17 changed files with 644 additions and 211 deletions
|
|
@ -1032,10 +1032,12 @@ void shutdown_hw(void)
|
|||
#elif defined(HAVE_WM8758) || defined(HAVE_WM8975)
|
||||
wmcodec_close();
|
||||
#endif
|
||||
#ifndef IAUDIO_X5
|
||||
#if defined(HAVE_BACKLIGHT_PWM_FADING) && !defined(SIMULATOR)
|
||||
backlight_set_fade_out(0);
|
||||
#endif
|
||||
backlight_off();
|
||||
#endif /* IAUDIO_X5 */
|
||||
#if defined(IPOD_ARCH) && defined(HAVE_LCD_COLOR)
|
||||
/* Clear the screen and backdrop to
|
||||
remove ghosting effect on shutdown */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue