From 55eb1c54ebe33faa8b1eb8c527d5644961ca78dc Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 3 Feb 2019 20:12:50 -0500 Subject: FS#7704 - Talk support for plugins Original patch by Mario Lang Heavily updated by Igor Poretsky Further updated by myself This patch breaks binary API compatibility by placing the new functions where they make the most logical sense. IMO this is the better approach to take given the scope of the changes needed for talk support. Since binary API is changing, the patch also moves some other functions around to more logical locations. As well as voice support in plugins, this patch voice-enables several simple plugins. There will be follow-up patches for many plugins that build on this one. Change-Id: I18070c06e77e8a3c016c2eb6b6c5dbe6633b9b54 --- apps/talk.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'apps/talk.c') diff --git a/apps/talk.c b/apps/talk.c index de564c0ff0..aa79dd1b33 100644 --- a/apps/talk.c +++ b/apps/talk.c @@ -1540,7 +1540,6 @@ void talk_setting(const void *global_settings_variable) } -#if CONFIG_RTC void talk_date(const struct tm *tm, bool enqueue) { talk_id(LANG_MONTH_JANUARY + tm->tm_mon, enqueue); @@ -1595,8 +1594,6 @@ void talk_time(const struct tm *tm, bool enqueue) } } -#endif /* CONFIG_RTC */ - bool talk_get_debug_data(struct talk_debug_data *data) { char* p_lang = DEFAULT_VOICE_LANG; /* default */ -- cgit v1.2.3