forked from len0rd/rockbox
Ooops, overlooked the no-backlight stubs...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16937 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5c87a98b97
commit
d5f37b2235
1 changed files with 12 additions and 2 deletions
|
|
@ -802,12 +802,22 @@ void backlight_on(void) {}
|
|||
void backlight_off(void) {}
|
||||
void buttonlight_on(void) {}
|
||||
void backlight_set_timeout(int value) {(void)value;}
|
||||
bool is_backlight_on(void) {return true;}
|
||||
|
||||
bool is_backlight_on(bool ignore_always_off)
|
||||
{
|
||||
(void)ignore_always_off;
|
||||
return true;
|
||||
}
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
void remote_backlight_on(void) {}
|
||||
void remote_backlight_off(void) {}
|
||||
void remote_backlight_set_timeout(int value) {(void)value;}
|
||||
bool is_remote_backlight_on(void) {return true;}
|
||||
|
||||
bool is_remote_backlight_on(bool ignore_always_off)
|
||||
{
|
||||
(void)ignore_always_off;
|
||||
return true;
|
||||
}
|
||||
#endif /* HAVE_REMOTE_LCD */
|
||||
#ifdef HAVE_BACKLIGHT_BRIGHTNESS
|
||||
void backlight_set_brightness(int val) { (void)val; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue