mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-23 19:20:51 +00:00
hfp: reset context found_equal_sign
This commit is contained in:
parent
acfa32a67a
commit
b09bb5387c
@ -608,8 +608,6 @@ void hfp_reset_context_flags(hfp_connection_t * hfp_connection){
|
||||
hfp_connection->ok_pending = 0;
|
||||
hfp_connection->send_error = 0;
|
||||
|
||||
hfp_connection->found_equal_sign = false;
|
||||
|
||||
hfp_connection->change_status_update_for_individual_ag_indicators = 0;
|
||||
hfp_connection->operator_name_changed = 0;
|
||||
|
||||
@ -642,6 +640,9 @@ static hfp_connection_t * create_hfp_connection_context(void){
|
||||
hfp_connection->acl_handle = HCI_CON_HANDLE_INVALID;
|
||||
hfp_connection->sco_handle = HCI_CON_HANDLE_INVALID;
|
||||
|
||||
// parser
|
||||
hfp_connection->found_equal_sign = false;
|
||||
|
||||
// HF only
|
||||
hfp_connection->hf_call_status = HFP_CALL_STATUS_NO_HELD_OR_ACTIVE_CALLS;
|
||||
hfp_connection->hf_callsetup_status = HFP_CALLSETUP_STATUS_NO_CALL_SETUP_IN_PROGRESS;
|
||||
|
@ -613,6 +613,7 @@ typedef struct hfp_connection {
|
||||
uint8_t ok_pending;
|
||||
uint8_t send_error;
|
||||
|
||||
// parser
|
||||
bool found_equal_sign;
|
||||
uint8_t ignore_value;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user