fuze+: fix backlight calculations

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30977 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Amaury Pouly 2011-11-14 19:14:34 +00:00
parent e0d0eedc90
commit 2a45f7772b
2 changed files with 3 additions and 2 deletions

View file

@ -28,6 +28,7 @@
void _backlight_set_brightness(int brightness)
{
brightness = 32 - (brightness * 32) / 100;
imx233_set_gpio_output(1, 28, false);
udelay(600);
while(brightness-- > 0)