summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/settings.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 17d5acb51a..c376a46dea 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -26,6 +26,7 @@
26#include <stddef.h> 26#include <stddef.h>
27#include "inttypes.h" 27#include "inttypes.h"
28#include "config.h" 28#include "config.h"
29#include "button.h"
29#if CONFIG_CODEC == SWCODEC 30#if CONFIG_CODEC == SWCODEC
30#include "audio.h" 31#include "audio.h"
31#endif 32#endif
@@ -655,6 +656,7 @@ struct user_settings
655#if CONFIG_CHARGING 656#if CONFIG_CHARGING
656 int backlight_timeout_plugged; 657 int backlight_timeout_plugged;
657#endif 658#endif
659#ifdef HAVE_BACKLIGHT
658#ifdef HAS_BUTTON_HOLD 660#ifdef HAS_BUTTON_HOLD
659 int backlight_on_button_hold; /* what to do with backlight when hold 661 int backlight_on_button_hold; /* what to do with backlight when hold
660 switch is on */ 662 switch is on */
@@ -663,6 +665,7 @@ struct user_settings
663 int lcd_sleep_after_backlight_off; /* when to put lcd to sleep after backlight 665 int lcd_sleep_after_backlight_off; /* when to put lcd to sleep after backlight
664 has turned off */ 666 has turned off */
665#endif 667#endif
668#endif
666#if defined(HAVE_BACKLIGHT_FADING_INT_SETTING) 669#if defined(HAVE_BACKLIGHT_FADING_INT_SETTING)
667 int backlight_fade_in; /* backlight fade in timing: 0..3 */ 670 int backlight_fade_in; /* backlight fade in timing: 0..3 */
668 int backlight_fade_out; /* backlight fade in timing: 0..7 */ 671 int backlight_fade_out; /* backlight fade in timing: 0..7 */