forked from len0rd/rockbox
Small fixup of the recent #include cleanup. settings.h needs button.h for HAS_BUTTON_HOLD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20272 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
70cce5c03b
commit
d33bff2b47
1 changed files with 3 additions and 0 deletions
|
|
@ -26,6 +26,7 @@
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include "inttypes.h"
|
#include "inttypes.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include "button.h"
|
||||||
#if CONFIG_CODEC == SWCODEC
|
#if CONFIG_CODEC == SWCODEC
|
||||||
#include "audio.h"
|
#include "audio.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -655,6 +656,7 @@ struct user_settings
|
||||||
#if CONFIG_CHARGING
|
#if CONFIG_CHARGING
|
||||||
int backlight_timeout_plugged;
|
int backlight_timeout_plugged;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_BACKLIGHT
|
||||||
#ifdef HAS_BUTTON_HOLD
|
#ifdef HAS_BUTTON_HOLD
|
||||||
int backlight_on_button_hold; /* what to do with backlight when hold
|
int backlight_on_button_hold; /* what to do with backlight when hold
|
||||||
switch is on */
|
switch is on */
|
||||||
|
|
@ -663,6 +665,7 @@ struct user_settings
|
||||||
int lcd_sleep_after_backlight_off; /* when to put lcd to sleep after backlight
|
int lcd_sleep_after_backlight_off; /* when to put lcd to sleep after backlight
|
||||||
has turned off */
|
has turned off */
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#if defined(HAVE_BACKLIGHT_FADING_INT_SETTING)
|
#if defined(HAVE_BACKLIGHT_FADING_INT_SETTING)
|
||||||
int backlight_fade_in; /* backlight fade in timing: 0..3 */
|
int backlight_fade_in; /* backlight fade in timing: 0..3 */
|
||||||
int backlight_fade_out; /* backlight fade in timing: 0..7 */
|
int backlight_fade_out; /* backlight fade in timing: 0..7 */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue