From bef16e9c4d8d1b41b221628ae6ac29b34ed5e190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Danis?= Date: Mon, 1 Sep 2025 17:49:02 +0200 Subject: [PATCH] shared/hfp: Fix typos --- src/shared/hfp.c | 14 +++++++------- src/shared/hfp.h | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/shared/hfp.c b/src/shared/hfp.c index 71f193f83..d01915ab1 100644 --- a/src/shared/hfp.c +++ b/src/shared/hfp.c @@ -1576,7 +1576,7 @@ static void ciev_service_cb(uint8_t val, void *user_data) if (val < hfp->ag_ind[HFP_INDICATOR_SERVICE].min || val > hfp->ag_ind[HFP_INDICATOR_SERVICE].max) { - DBG(hfp, "hf: Incorrect state %u:", val); + DBG(hfp, "hf: Incorrect state: %u", val); return; } @@ -1594,7 +1594,7 @@ static void ciev_call_cb(uint8_t val, void *user_data) if (val < hfp->ag_ind[HFP_INDICATOR_CALL].min || val > hfp->ag_ind[HFP_INDICATOR_CALL].max) { - DBG(hfp, "hf: Incorrect call state %u:", val); + DBG(hfp, "hf: Incorrect call state: %u", val); return; } } @@ -1607,7 +1607,7 @@ static void ciev_callsetup_cb(uint8_t val, void *user_data) if (val < hfp->ag_ind[HFP_INDICATOR_CALLSETUP].min || val > hfp->ag_ind[HFP_INDICATOR_CALLSETUP].max) { - DBG(hfp, "hf: Incorrect call setup state %u:", val); + DBG(hfp, "hf: Incorrect call setup state: %u", val); return; } } @@ -1620,7 +1620,7 @@ static void ciev_callheld_cb(uint8_t val, void *user_data) if (val < hfp->ag_ind[HFP_INDICATOR_CALLHELD].min || val > hfp->ag_ind[HFP_INDICATOR_CALLHELD].max) { - DBG(hfp, "hf: Incorrect call held state %u:", val); + DBG(hfp, "hf: Incorrect call held state: %u", val); return; } } @@ -1633,7 +1633,7 @@ static void ciev_signal_cb(uint8_t val, void *user_data) if (val < hfp->ag_ind[HFP_INDICATOR_SIGNAL].min || val > hfp->ag_ind[HFP_INDICATOR_SIGNAL].max) { - DBG(hfp, "hf: Incorrect signal value %u:", val); + DBG(hfp, "hf: Incorrect signal value: %u", val); return; } @@ -1651,7 +1651,7 @@ static void ciev_roam_cb(uint8_t val, void *user_data) if (val < hfp->ag_ind[HFP_INDICATOR_ROAM].min || val > hfp->ag_ind[HFP_INDICATOR_ROAM].max) { - DBG(hfp, "hf: Incorrect roaming state %u:", val); + DBG(hfp, "hf: Incorrect roaming state: %u", val); return; } @@ -1669,7 +1669,7 @@ static void ciev_battchg_cb(uint8_t val, void *user_data) if (val < hfp->ag_ind[HFP_INDICATOR_BATTCHG].min || val > hfp->ag_ind[HFP_INDICATOR_BATTCHG].max) { - DBG(hfp, "hf: Incorrect battery charge value %u:", val); + DBG(hfp, "hf: Incorrect battery charge value: %u", val); return; } diff --git a/src/shared/hfp.h b/src/shared/hfp.h index f54b86a92..e6f7bbbb6 100644 --- a/src/shared/hfp.h +++ b/src/shared/hfp.h @@ -36,7 +36,7 @@ #define HFP_AG_FEAT_HF_INDICATORS 0x00000400 #define HFP_AG_FEAT_ESCO_S4_T2 0x00000800 #define HFP_AG_FEAT_ENHANCED_VOICE_RECOGNITION_STATUS 0x00001000 -#define HFP_AG_FEAT_VOICE_RECOGNITION_TEXT 0x00001000 +#define HFP_AG_FEAT_VOICE_RECOGNITION_TEXT 0x00002000 enum hfp_result { HFP_RESULT_OK = 0, -- 2.47.3