diff options
Diffstat (limited to 'apps/menus/time_menu.c')
-rw-r--r-- | apps/menus/time_menu.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/apps/menus/time_menu.c b/apps/menus/time_menu.c index e6b5637047..79a38a1a57 100644 --- a/apps/menus/time_menu.c +++ b/apps/menus/time_menu.c | |||
@@ -144,23 +144,6 @@ MENUITEM_FUNCTION(alarm_wake_up_screen, 0, ID2P(LANG_ALARM_WAKEUP_SCREEN), | |||
144 | 144 | ||
145 | #endif /* HAVE_RTC_ALARM */ | 145 | #endif /* HAVE_RTC_ALARM */ |
146 | 146 | ||
147 | void talk_timedate(void) | ||
148 | { | ||
149 | struct tm *tm = get_time(); | ||
150 | if (!global_settings.talk_menu) | ||
151 | return; | ||
152 | talk_id(VOICE_CURRENT_TIME, false); | ||
153 | if (valid_time(tm)) | ||
154 | { | ||
155 | talk_time(tm, true); | ||
156 | talk_date(get_time(), true); | ||
157 | } | ||
158 | else | ||
159 | { | ||
160 | talk_id(LANG_UNKNOWN, true); | ||
161 | } | ||
162 | } | ||
163 | |||
164 | static void draw_timedate(struct viewport *vp, struct screen *display) | 147 | static void draw_timedate(struct viewport *vp, struct screen *display) |
165 | { | 148 | { |
166 | struct tm *tm = get_time(); | 149 | struct tm *tm = get_time(); |