From e25a65a1988c8730279582131acd52583282749e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Sun, 18 Nov 2007 18:27:36 +0000 Subject: [PATCH] plugged timeout depends on CONFIG_CHARGING and is not needed for all targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15671 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/settings.h b/apps/settings.h index e422bb2b63..c4db9a18b4 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -394,7 +394,9 @@ struct user_settings int backlight_timeout; /* backlight off timeout: 0-18 0=never, 1=always, then according to timeout_values[] */ +#if CONFIG_CHARGING int backlight_timeout_plugged; +#endif #ifdef HAVE_BACKLIGHT_PWM_FADING int backlight_fade_in; /* backlight fade in timing: 0..3 */