summaryrefslogtreecommitdiffstats
path: root/apps/action.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/action.c')
-rw-r--r--apps/action.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/action.c b/apps/action.c
index aa19403703..15b2d8a4c8 100644
--- a/apps/action.c
+++ b/apps/action.c
@@ -203,9 +203,7 @@ static int get_action_worker(int context, int timeout,
#if CONFIG_CODEC == SWCODEC
/* Produce keyclick */
- if (global_settings.keyclick && !(button & BUTTON_REL))
- if (!(button & BUTTON_REPEAT) || global_settings.keyclick_repeats)
- beep_play(4000, KEYCLICK_DURATION, 2500*global_settings.keyclick);
+ keyclick_click(button);
#endif
if ((context != last_context) && ((last_button & BUTTON_REL) == 0)