summaryrefslogtreecommitdiff
path: root/apps/menus/main_menu.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-12-08 10:23:46 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-12-08 10:23:46 +0000
commit29b1ba3445a8acaffe0fb11c267869eccda80883 (patch)
tree2cbf6f1e6de488d1eb753a358fd7ac05ecbf49db /apps/menus/main_menu.c
parent2376c4f825400fd0f8619cd746f3093c59ca7710 (diff)
downloadrockbox-29b1ba3445a8acaffe0fb11c267869eccda80883.tar.gz
rockbox-29b1ba3445a8acaffe0fb11c267869eccda80883.zip
shortcuts: talk the time and configure the sleep timeout
Use "type: time" and "data: talk" to have the time voiced when the shortcut is run. use "type: time" and "data: sleep X" where X is the number of minutes to run the sleep timer for (0 means disable) the name field is required git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31178 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus/main_menu.c')
-rw-r--r--apps/menus/main_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index b6ce9e75c6..130d0bc2d5 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -376,7 +376,7 @@ MENUITEM_FUNCTION(show_info_item, 0, ID2P(LANG_ROCKBOX_INFO),
376 376
377 377
378/* sleep Menu */ 378/* sleep Menu */
379static const char* sleep_timer_formatter(char* buffer, size_t buffer_size, 379const char* sleep_timer_formatter(char* buffer, size_t buffer_size,
380 int value, const char* unit) 380 int value, const char* unit)
381{ 381{
382 (void) unit; 382 (void) unit;