diff options
Diffstat (limited to 'apps/shortcuts.c')
-rw-r--r-- | apps/shortcuts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/shortcuts.c b/apps/shortcuts.c index 50b8decfc6..ee8454485d 100644 --- a/apps/shortcuts.c +++ b/apps/shortcuts.c | |||
@@ -528,7 +528,7 @@ int do_shortcut_menu(void *ignored) | |||
528 | #endif | 528 | #endif |
529 | { | 529 | { |
530 | char timer_buf[10]; | 530 | char timer_buf[10]; |
531 | set_sleep_timer(sc->u.timedata.sleep_timeout * 60); | 531 | set_sleeptimer_duration(sc->u.timedata.sleep_timeout); |
532 | splashf(HZ, "%s (%s)", str(LANG_SLEEP_TIMER), | 532 | splashf(HZ, "%s (%s)", str(LANG_SLEEP_TIMER), |
533 | sleep_timer_formatter(timer_buf, sizeof(timer_buf), | 533 | sleep_timer_formatter(timer_buf, sizeof(timer_buf), |
534 | sc->u.timedata.sleep_timeout, NULL)); | 534 | sc->u.timedata.sleep_timeout, NULL)); |