mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Fuze+: fixed brightness settings: previously there were 81 settings for only 26 possible brightnesses, now there are 33 for 33
Change-Id: Idc6e3a635850f3ee54ec23246795af88af960ab0 Reviewed-on: http://gerrit.rockbox.org/916 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
This commit is contained in:
parent
223038dfe0
commit
d3cf366868
2 changed files with 3 additions and 3 deletions
|
|
@ -29,7 +29,7 @@
|
|||
void _backlight_set_brightness(int brightness)
|
||||
{
|
||||
if(brightness != 0)
|
||||
brightness = 32 - (brightness * 32) / 100;
|
||||
brightness = MAX_BRIGHTNESS_SETTING + 1 - brightness;
|
||||
imx233_pinctrl_set_gpio(1, 28, false);
|
||||
udelay(600);
|
||||
while(brightness-- > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue