summaryrefslogtreecommitdiff
path: root/apps/settings_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r--apps/settings_menu.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index c3f3bccb61..9f36d3be2b 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -35,6 +35,7 @@
35#include "fat.h" /* For dotfile settings */ 35#include "fat.h" /* For dotfile settings */
36#include "powermgmt.h" 36#include "powermgmt.h"
37#include "rtc.h" 37#include "rtc.h"
38#include "ata.h"
38 39
39static Menu show_hidden_files(void) 40static Menu show_hidden_files(void)
40{ 41{
@@ -167,7 +168,14 @@ static Menu timedate_set(void)
167static Menu ff_rewind(void) 168static Menu ff_rewind(void)
168{ 169{
169 set_int("[FF/Rewind Step Size]", "s", &global_settings.ff_rewind, 170 set_int("[FF/Rewind Step Size]", "s", &global_settings.ff_rewind,
170 NULL, 1, 1, 255 ); 171 NULL, 1, 1, 254 );
172 return MENU_OK;
173}
174
175static Menu spindown(void)
176{
177 set_int("[Disk spindown]", "s", &global_settings.disk_spindown,
178 ata_spindown, 1, 1, 254 );
171 return MENU_OK; 179 return MENU_OK;
172} 180}
173 181
@@ -193,6 +201,7 @@ Menu settings_menu(void)
193 { "Show hidden files", show_hidden_files }, 201 { "Show hidden files", show_hidden_files },
194 { "FF/Rewind", ff_rewind }, 202 { "FF/Rewind", ff_rewind },
195 { "Resume", resume }, 203 { "Resume", resume },
204 { "Disk spindown", spindown },
196 }; 205 };
197 bool old_shuffle = global_settings.playlist_shuffle; 206 bool old_shuffle = global_settings.playlist_shuffle;
198 207