double fault.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10305 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
94e297f930
commit
24a4bb3d22
1 changed files with 4 additions and 2 deletions
|
@ -656,9 +656,9 @@ bool is_remote_backlight_on(void) {return true;}
|
|||
|
||||
#ifdef HAVE_BACKLIGHT_BRIGHTNESS
|
||||
#if defined(IRIVER_H300_SERIES) || defined(IAUDIO_X5)
|
||||
#ifndef SIMULATOR
|
||||
void backlight_set_brightness(int val)
|
||||
{
|
||||
#ifndef SIMULATOR
|
||||
/* set H300 brightness by changing the PWM
|
||||
accepts 0..15 but note that 0 and 1 give a black display! */
|
||||
|
||||
|
@ -679,8 +679,10 @@ void backlight_set_brightness(int val)
|
|||
|
||||
/* enable IRQs again */
|
||||
set_irq_level(old_irq_level);
|
||||
#else
|
||||
val=0;
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue