1
0
Fork 0
forked from len0rd/rockbox

The Code Police struck again

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8352 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2006-01-16 14:45:03 +00:00
parent d6d5da1841
commit b3a9ad8590

View file

@ -550,11 +550,10 @@ void remote_backlight_set_timeout(int index) {(void)index;}
void backlight_set_brightness(int val)
{
/* set H300 brightness by changing the PWM
accepts 0..15 but note that 0 and 1 give a black display! */
unsigned char ucVal = (unsigned char)(val & 0x0F);
accepts 0..15 but note that 0 and 1 gives a black display! */
if(val < MIN_BRIGHTNESS_SETTING)
val = MIN_BRIGHTNESS_SETTING;
pcf50606_set_bl_pwm(ucVal);
pcf50606_set_bl_pwm(val & 0xf);
}
#endif