diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-04-22 13:02:24 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-04-22 13:02:24 +0000 |
commit | 4b1d1b40339d98e08d1d975d4fa511a0768a7204 (patch) | |
tree | 732f6c3ef001f15409181c12a3d27a8d62d03b00 /apps/settings_list.c | |
parent | 6bf86b799ec96c9e9d42cf9fd2e0654023eee057 (diff) | |
download | rockbox-4b1d1b40339d98e08d1d975d4fa511a0768a7204.tar.gz rockbox-4b1d1b40339d98e08d1d975d4fa511a0768a7204.zip |
e200: Make the wheel light timeout configurable (under settings > system) (FS#7067)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13244 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r-- | apps/settings_list.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c index ce45074f36..49ec5b5f32 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c | |||
@@ -1175,6 +1175,13 @@ const struct settings_list settings[] = { | |||
1175 | "remote viewers iconset", "", | 1175 | "remote viewers iconset", "", |
1176 | ICON_DIR "/", ".bmp", MAX_FILENAME+1), | 1176 | ICON_DIR "/", ".bmp", MAX_FILENAME+1), |
1177 | #endif /* HAVE_REMOTE_LCD */ | 1177 | #endif /* HAVE_REMOTE_LCD */ |
1178 | #ifdef HAVE_BUTTON_LIGHT | ||
1179 | INT_SETTING_W_CFGVALS(F_FLIPLIST, button_light_timeout, | ||
1180 | LANG_BUTTONLIGHT_TIMEOUT, 6, | ||
1181 | "button light timeout", backlight_times_conf, UNIT_SEC, | ||
1182 | 0, 18, 1, backlight_formatter, backlight_getlang, | ||
1183 | button_backlight_set_timeout), | ||
1184 | #endif | ||
1178 | }; | 1185 | }; |
1179 | 1186 | ||
1180 | const int nb_settings = sizeof(settings)/sizeof(*settings); | 1187 | const int nb_settings = sizeof(settings)/sizeof(*settings); |