From b2359e1f83103a025e6fbfe49f1b24a5642df812 Mon Sep 17 00:00:00 2001 From: nls Date: Sun, 18 Nov 2007 17:04:46 +0000 Subject: [PATCH] include members for backlight timeout for all targets in settings struct as we assume they are present in some places git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15666 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/settings.h b/apps/settings.h index 07b2286a8..e422bb2b6 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -391,12 +391,11 @@ struct user_settings int cursor_style; /* style of the selection cursor */ bool flip_display; /* turn display (and button layout) by 180 degrees */ int poweroff; /* power off timer */ -#ifdef HAVE_BACKLIGHT int backlight_timeout; /* backlight off timeout: 0-18 0=never, 1=always, then according to timeout_values[] */ int backlight_timeout_plugged; -#endif + #ifdef HAVE_BACKLIGHT_PWM_FADING int backlight_fade_in; /* backlight fade in timing: 0..3 */ int backlight_fade_out; /* backlight fade in timing: 0..7 */ -- 2.11.4.GIT