mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
Onda VX747: make backlight setting range from 1->16 instead of 0->15
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21494 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
119cfdaa0a
commit
20e5ffe306
2 changed files with 3 additions and 3 deletions
|
|
@ -44,7 +44,7 @@ static void set_backlight(int val)
|
|||
__tcu_stop_counter(BACKLIGHT_PWM);
|
||||
|
||||
__tcu_set_count(BACKLIGHT_PWM, 0);
|
||||
__tcu_set_half_data(BACKLIGHT_PWM, logtable[val]);
|
||||
__tcu_set_half_data(BACKLIGHT_PWM, logtable[val - 1]);
|
||||
__tcu_set_full_data(BACKLIGHT_PWM, 256);
|
||||
|
||||
__tcu_start_counter(BACKLIGHT_PWM);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue