2014-11-03 13:49:53

by Lukasz Rymanowski

[permalink] [raw]
Subject: [PATCH] android/client: Fix copy paste issue in stop recognition function

---
android/client/if-hf-client.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/client/if-hf-client.c b/android/client/if-hf-client.c
index a837401..3f6f7c2 100644
--- a/android/client/if-hf-client.c
+++ b/android/client/if-hf-client.c
@@ -489,7 +489,7 @@ static void stop_voice_recognition_p(int argc, const char **argv)
{
RETURN_IF_NULL(if_hf_client);

- EXEC(if_hf_client->start_voice_recognition);
+ EXEC(if_hf_client->stop_voice_recognition);
}

static void volume_control_c(int argc, const char **argv, enum_func *enum_func,
--
1.8.4



2014-11-03 18:14:55

by Szymon Janc

[permalink] [raw]
Subject: Re: [PATCH] android/client: Fix copy paste issue in stop recognition function

Hi Ɓukasz,

On Monday 03 of November 2014 14:49:53 Lukasz Rymanowski wrote:
> ---
> android/client/if-hf-client.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/android/client/if-hf-client.c b/android/client/if-hf-client.c
> index a837401..3f6f7c2 100644
> --- a/android/client/if-hf-client.c
> +++ b/android/client/if-hf-client.c
> @@ -489,7 +489,7 @@ static void stop_voice_recognition_p(int argc, const
> char **argv) {
> RETURN_IF_NULL(if_hf_client);
>
> - EXEC(if_hf_client->start_voice_recognition);
> + EXEC(if_hf_client->stop_voice_recognition);
> }
>
> static void volume_control_c(int argc, const char **argv, enum_func
> *enum_func,

Patch applied, thanks.

--
BR
Szymon Janc