From bcde33b60b50e047e46375f81a9a60d8f35560a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= 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 07b2286a84..e422bb2b63 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 */