IRiver: added remote backlight handling into backlight thread

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6299 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Christian Gmeiner 2005-04-15 13:51:19 +00:00
parent 562c8727c8
commit cf2b821a7a

View file

@ -28,6 +28,10 @@
#include "power.h"
#include "system.h"
#ifdef HAVE_REMOTE_LCD
#include "lcd-remote.h"
#endif
#ifdef CONFIG_BACKLIGHT
const char backlight_timeout_value[19] =
@ -63,6 +67,10 @@ static void __backlight_off(void)
#elif CONFIG_BACKLIGHT == BL_GMINI
P1 &= ~0x10;
#endif
#ifdef HAVE_REMOTE_LCD
lcd_remote_backlight_off();
#endif
}
static void __backlight_on(void)
@ -80,6 +88,10 @@ static void __backlight_on(void)
#elif CONFIG_BACKLIGHT == BL_GMINI
P1 |= 0x10;
#endif
#ifdef HAVE_REMOTE_LCD
lcd_remote_backlight_on();
#endif
}
void backlight_thread(void)