From b3a9ad85901885eb43f9b3d4474b67100e9ea747 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Mon, 16 Jan 2006 14:45:03 +0000 Subject: The Code Police struck again git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8352 a1c6a512-1295-4272-9138-f99709370657 --- firmware/backlight.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/firmware/backlight.c b/firmware/backlight.c index b475c61fc0..25a91632cd 100644 --- a/firmware/backlight.c +++ b/firmware/backlight.c @@ -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); - if(val