diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2008-01-25 18:15:53 +0000 |
---|---|---|
committer | Marcoen Hirschberg <marcoen@gmail.com> | 2008-01-25 18:15:53 +0000 |
commit | 57a45136eaa7e9a6d37722e68a8dee594c313a42 (patch) | |
tree | d5d4688426c8e4e4eb15494d9d1346293751b7e9 /apps | |
parent | 7dff491a720383554ce4fc2277f2cd1eb9f4f531 (diff) | |
download | rockbox-57a45136eaa7e9a6d37722e68a8dee594c313a42.tar.gz rockbox-57a45136eaa7e9a6d37722e68a8dee594c313a42.zip |
don't let the brightness settings wrap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16163 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings_list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c index a767732c3e..b52044c933 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c | |||
@@ -524,7 +524,7 @@ const struct settings_list settings[] = { | |||
524 | #endif | 524 | #endif |
525 | #endif /* HAVE_BACKLIGHT */ | 525 | #endif /* HAVE_BACKLIGHT */ |
526 | #ifdef HAVE_BACKLIGHT_BRIGHTNESS | 526 | #ifdef HAVE_BACKLIGHT_BRIGHTNESS |
527 | INT_SETTING(0, brightness, LANG_BRIGHTNESS, DEFAULT_BRIGHTNESS_SETTING, | 527 | INT_SETTING(F_NO_WRAP, brightness, LANG_BRIGHTNESS, DEFAULT_BRIGHTNESS_SETTING, |
528 | "brightness",UNIT_INT, MIN_BRIGHTNESS_SETTING, MAX_BRIGHTNESS_SETTING, 1, | 528 | "brightness",UNIT_INT, MIN_BRIGHTNESS_SETTING, MAX_BRIGHTNESS_SETTING, 1, |
529 | NULL, NULL, backlight_set_brightness), | 529 | NULL, NULL, backlight_set_brightness), |
530 | #endif | 530 | #endif |
@@ -1165,7 +1165,7 @@ const struct settings_list settings[] = { | |||
1165 | -1,0,1,2,3,4,5,6,7,8,9,10,15,20,25,30,45,60,90,120), | 1165 | -1,0,1,2,3,4,5,6,7,8,9,10,15,20,25,30,45,60,90,120), |
1166 | #endif | 1166 | #endif |
1167 | #ifdef HAVE_BUTTONLIGHT_BRIGHTNESS | 1167 | #ifdef HAVE_BUTTONLIGHT_BRIGHTNESS |
1168 | INT_SETTING(0, buttonlight_brightness, LANG_BUTTONLIGHT_BRIGHTNESS, DEFAULT_BRIGHTNESS_SETTING, | 1168 | INT_SETTING(F_NO_WRAP, buttonlight_brightness, LANG_BUTTONLIGHT_BRIGHTNESS, DEFAULT_BRIGHTNESS_SETTING, |
1169 | "button light brightness",UNIT_INT, MIN_BRIGHTNESS_SETTING, MAX_BRIGHTNESS_SETTING, 1, | 1169 | "button light brightness",UNIT_INT, MIN_BRIGHTNESS_SETTING, MAX_BRIGHTNESS_SETTING, 1, |
1170 | NULL, NULL, buttonlight_set_brightness), | 1170 | NULL, NULL, buttonlight_set_brightness), |
1171 | #endif | 1171 | #endif |