Hopefully fix lcd_sleep() from not be being called for targets without fading at...
commitd1cf51bac0c6f3f88d7dd3b9690aa81d006aa1fb
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Tue, 28 Apr 2009 08:57:38 +0000 (28 08:57 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Tue, 28 Apr 2009 08:57:38 +0000 (28 08:57 +0000)
tree39c7d978b243a9c72066f16da6f3d07c16e45650
parent745080d74afbb97cbfa21b6f06fb257928a01cb4
Hopefully fix lcd_sleep() from not be being called for targets without fading at all and being and being called too early for backlight always of on PWM fading targets. Also, clean up the code a bit by renaming the function that initiates fading on PWM.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20820 a1c6a512-1295-4272-9138-f99709370657
firmware/backlight.c