From 8cb555460ff79e636a7907fb2589e16db98c8600 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 17 Jul 2020 00:01:32 -0400 Subject: [3/4] Completely remove HWCODEC support 'swcodec' is now always set (and recording_swcodec for recording-capable units) in feature.txt so the manual and language strings don't need to all be fixed up. Change-Id: Ib2c9d5d157af8d33653e2d4b4a12881b9aa6ddb0 --- apps/gui/list.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'apps/gui/list.c') diff --git a/apps/gui/list.c b/apps/gui/list.c index ce444cc9c2..b1120aa794 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c @@ -317,10 +317,6 @@ static void gui_list_put_selection_on_screen(struct gui_synclist * gui_list, static void edge_beep(struct gui_synclist * gui_list, bool wrap) { -#if CONFIG_CODEC != SWCODEC - (void)gui_list; - (void)wrap; -#else if (global_settings.keyclick) { list_speak_item *cb = gui_list->callback_speak_item; @@ -354,7 +350,6 @@ static void edge_beep(struct gui_synclist * gui_list, bool wrap) talk_force_shutup(); } } -#endif } static void _gui_synclist_speak_item(struct gui_synclist *lists) @@ -615,7 +610,6 @@ static void gui_synclist_scroll_left(struct gui_synclist * lists) } #endif /* HAVE_LCD_BITMAP */ -#if CONFIG_CODEC == SWCODEC bool gui_synclist_keyclick_callback(int action, void* data) { struct gui_synclist *lists = (struct gui_synclist *)data; @@ -633,7 +627,6 @@ bool gui_synclist_keyclick_callback(int action, void* data) return action != ACTION_NONE; } -#endif /* * Magic to make sure the list gets updated correctly if the skin does @@ -864,9 +857,7 @@ bool list_do_action(int context, int timeout, do_button, and places the action from get_action in *action. */ { timeout = list_do_action_timeout(lists, timeout); -#if CONFIG_CODEC == SWCODEC keyclick_set_callback(gui_synclist_keyclick_callback, lists); -#endif *action = get_action(context, timeout); return gui_synclist_do_button(lists, action, wrap); } -- cgit v1.2.3