diff options
author | Jerome Kuptz <jeromekuptz@gmail.com> | 2002-07-23 06:21:35 +0000 |
---|---|---|
committer | Jerome Kuptz <jeromekuptz@gmail.com> | 2002-07-23 06:21:35 +0000 |
commit | ceef544fe0fe3b7854a11d6d9b4cb968a0f6fe00 (patch) | |
tree | 2f956ba9974574327063a16bc42bc7910c3656ca /apps/main_menu.c | |
parent | b70a0466159e4d557aa30f53c104191965468241 (diff) | |
download | rockbox-ceef544fe0fe3b7854a11d6d9b4cb968a0f6fe00.tar.gz rockbox-ceef544fe0fe3b7854a11d6d9b4cb968a0f6fe00.zip |
primitive hold mode enabled for wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1413 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main_menu.c')
-rw-r--r-- | apps/main_menu.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c index de09897baa..101dfe529a 100644 --- a/apps/main_menu.c +++ b/apps/main_menu.c | |||
@@ -135,12 +135,18 @@ void show_info(void) | |||
135 | button_get(true); | 135 | button_get(true); |
136 | } | 136 | } |
137 | 137 | ||
138 | void hold_set(void) | ||
139 | { | ||
140 | set_bool( "[Hold]", &global_settings.hold ); | ||
141 | } | ||
142 | |||
138 | void main_menu(void) | 143 | void main_menu(void) |
139 | { | 144 | { |
140 | int m; | 145 | int m; |
141 | 146 | ||
142 | /* main menu */ | 147 | /* main menu */ |
143 | struct menu_items items[] = { | 148 | struct menu_items items[] = { |
149 | { "Hold", hold_set }, | ||
144 | { "Sound Settings", sound_menu }, | 150 | { "Sound Settings", sound_menu }, |
145 | { "General Settings", settings_menu }, | 151 | { "General Settings", settings_menu }, |
146 | #ifdef HAVE_LCD_BITMAP | 152 | #ifdef HAVE_LCD_BITMAP |