1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jonathan Gordon 2011-12-08 10:23:46 +00:00
parent 2376c4f825
commit 29b1ba3445
5 changed files with 55 additions and 9 deletions

View file

@ -376,7 +376,7 @@ MENUITEM_FUNCTION(show_info_item, 0, ID2P(LANG_ROCKBOX_INFO),
/* sleep Menu */
static const char* sleep_timer_formatter(char* buffer, size_t buffer_size,
const char* sleep_timer_formatter(char* buffer, size_t buffer_size,
int value, const char* unit)
{
(void) unit;