diff options
author | Brandon Low <lostlogic@rockbox.org> | 2006-04-04 19:19:28 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@rockbox.org> | 2006-04-04 19:19:28 +0000 |
commit | 461addf6582e6951374e23233ba3964feb23630b (patch) | |
tree | e5f80c23e473460be3e0f057d7591977c8e9dac0 /firmware/powermgmt.c | |
parent | 69b2cfe20758b33d0565b51f482f8b430c474533 (diff) |
Disable backlight fade out for shutdown
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9500 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r-- | firmware/powermgmt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 1ae909d8da..fb2d886042 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c @@ -1046,6 +1046,9 @@ void shutdown_hw(void) #elif defined(HAVE_WM8758) || defined(HAVE_WM8975) wmcodec_close(); #endif +#if defined(HAVE_BACKLIGHT_PWM_FADING) && !defined(SIMULATOR) + backlight_set_fade_out(0); +#endif backlight_off(); #if defined(IPOD_ARCH) && defined(HAVE_LCD_COLOR) /* Clear the screen and backdrop to |