forked from len0rd/rockbox
plugins: Fix the builds for targets lacking HAVE_BACKLIGHT
Change-Id: Ifdb1501834b7ea63ca6f731bbd6414305d7e0001
This commit is contained in:
parent
5dbb757670
commit
a3398a2143
7 changed files with 40 additions and 10 deletions
|
@ -22,6 +22,7 @@
|
|||
#include "plugin.h"
|
||||
#include "helper.h"
|
||||
|
||||
#ifdef HAVE_BACKLIGHT
|
||||
/* Force the backlight on */
|
||||
void backlight_force_on(void)
|
||||
{
|
||||
|
@ -51,6 +52,7 @@ void backlight_use_settings(void)
|
|||
backlight_timeout_plugged);
|
||||
#endif /* CONFIG_CHARGING */
|
||||
}
|
||||
#endif /* HAVE_BACKLIGHT */
|
||||
|
||||
#ifdef HAVE_SW_POWEROFF
|
||||
static bool original_sw_poweroff_state = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue