summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-01-03 13:41:54 +0000
committerNils Wallménius <nils@rockbox.org>2009-01-03 13:41:54 +0000
commit071e3ef69161a1f0ce41d6c61b9292e0e52f5d4d (patch)
treeb9c266882a1f0c06a3f19c30f5f6edd3cb19b42a /apps
parent4b472de39b30c079ff846aec83d2da33cc0adcc5 (diff)
Fix some reds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19657 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/settings.h2
-rw-r--r--apps/settings_list.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/settings.h b/apps/settings.h
index e48e5b5dd0..efa50f78dd 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -665,7 +665,6 @@ struct user_settings
int jump_scroll_delay; /* Delay between jump scroll screens */
#endif
-#ifdef HAVE_BACKLIGHT
int backlight_timeout; /* backlight off timeout: 0-18 0=never,
1=always,
then according to timeout_values[] */
@@ -693,7 +692,6 @@ struct user_settings
#ifdef HAVE_BACKLIGHT_BRIGHTNESS
int brightness;
#endif
-#endif /* HAVE_BACKLIGHT */
#ifdef HAVE_REMOTE_LCD
/* remote lcd */
diff --git a/apps/settings_list.c b/apps/settings_list.c
index 18bcb8ea2c..3618c16aa2 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -1052,8 +1052,11 @@ const struct settings_list settings[] = {
"folder navigation", "off,on,random",NULL ,3,
ID2P(LANG_SET_BOOL_NO), ID2P(LANG_SET_BOOL_YES),
ID2P(LANG_RANDOM)),
+
+#ifdef HAVE_TAGCACHE
OFFON_SETTING(0, runtimedb, LANG_RUNTIMEDB_ACTIVE, false,
"gather runtime data", NULL),
+#endif
#if CONFIG_CODEC == SWCODEC
/* replay gain */