diff options
Diffstat (limited to 'apps/menus/time_menu.c')
-rw-r--r-- | apps/menus/time_menu.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/menus/time_menu.c b/apps/menus/time_menu.c index 6631b46195..7059c5d92c 100644 --- a/apps/menus/time_menu.c +++ b/apps/menus/time_menu.c | |||
@@ -136,6 +136,9 @@ MENUITEM_FUNCTION(alarm_wake_up_screen, 0, ID2P(LANG_ALARM_WAKEUP_SCREEN), | |||
136 | #endif /* CONFIG_TUNER || defined(HAVE_RECORDING) */ | 136 | #endif /* CONFIG_TUNER || defined(HAVE_RECORDING) */ |
137 | 137 | ||
138 | #endif /* HAVE_RTC_ALARM */ | 138 | #endif /* HAVE_RTC_ALARM */ |
139 | MENUITEM_SETTING(sleeptimer_on_startup, | ||
140 | &global_settings.sleeptimer_on_startup, NULL); | ||
141 | |||
139 | static void talk_timedate(void) | 142 | static void talk_timedate(void) |
140 | { | 143 | { |
141 | struct tm *tm = get_time(); | 144 | struct tm *tm = get_time(); |
@@ -241,7 +244,7 @@ MAKE_MENU(time_menu, ID2P(LANG_TIME_MENU), time_menu_callback, Icon_NOICON, | |||
241 | &alarm_wake_up_screen, | 244 | &alarm_wake_up_screen, |
242 | #endif | 245 | #endif |
243 | #endif | 246 | #endif |
244 | &timeformat); | 247 | &sleeptimer_on_startup, &timeformat); |
245 | 248 | ||
246 | int time_screen(void* ignored) | 249 | int time_screen(void* ignored) |
247 | { | 250 | { |