summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-03-11 12:32:29 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-03-11 12:32:29 +0000
commit04ea446edc56d0891f458ffa8f2b0e2616e443df (patch)
tree9363bdd4ffe834e8024b18875e2e851b2fd39090
parent2eefb5acb847eeb2d10bac860d37c4cef00be67b (diff)
Fix bug in action_getstatus() where it didnt store the last action so it
never returned ACTION_REPEAT Fix backlight fade out options to include 3s,5s,10s git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12722 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/action.c1
-rw-r--r--apps/settings_list.c5
2 files changed, 4 insertions, 2 deletions
diff --git a/apps/action.c b/apps/action.c
index 7667e4dd12..31770cdb4e 100644
--- a/apps/action.c
+++ b/apps/action.c
@@ -192,6 +192,7 @@ static int get_action_worker(int context, int timeout,
repeated = false;
last_button = button;
+ last_action = ret;
return ret;
}
diff --git a/apps/settings_list.c b/apps/settings_list.c
index e8ee59790d..67974c52d6 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -529,9 +529,10 @@ const struct settings_list settings[] = {
LANG_OFF, TALK_ID(500, UNIT_MS),
TALK_ID(1, UNIT_SEC), TALK_ID(2, UNIT_SEC)),
STRINGCHOICE_SETTING(0,backlight_fade_out, LANG_BACKLIGHT_FADE_OUT, 1,
- "backlight fade out","off,500ms,1s,2s", backlight_set_fade_out, 4,
+ "backlight fade out","off,500ms,1s,2s,3s,5s,10s", backlight_set_fade_out, 7,
LANG_OFF, TALK_ID(500, UNIT_MS),
- TALK_ID(1, UNIT_SEC), TALK_ID(2, UNIT_SEC)),
+ TALK_ID(1, UNIT_SEC), TALK_ID(2, UNIT_SEC),
+ TALK_ID(3, UNIT_SEC), TALK_ID(5, UNIT_SEC), TALK_ID(10, UNIT_SEC)),
#endif
INT_SETTING(0, scroll_speed, LANG_SCROLL_SPEED, 9,"scroll speed",
UNIT_INT, 0, 15, 1, NULL, NULL, lcd_scroll_speed),