hfp: reset context clip have alpha

This commit is contained in:
Matthias Ringwald 2025-03-14 16:22:48 +01:00
parent b09bb5387c
commit 603722a80c
2 changed files with 2 additions and 3 deletions

View File

@ -623,7 +623,6 @@ void hfp_reset_context_flags(hfp_connection_t * hfp_connection){
hfp_connection->call_waiting_notification_enabled = 0;
hfp_connection->command = HFP_CMD_NONE;
hfp_connection->enable_status_update_for_ag_indicators = 0xFF;
hfp_connection->clip_have_alpha = false;
hfp_reset_voice_recognition(hfp_connection);
}

View File

@ -614,7 +614,8 @@ typedef struct hfp_connection {
uint8_t send_error;
// parser
bool found_equal_sign;
bool found_equal_sign;
bool clip_have_alpha;
uint8_t ignore_value;
uint8_t change_status_update_for_individual_ag_indicators;
@ -756,7 +757,6 @@ typedef struct hfp_connection {
// also used for CLCC, CCWA, CLIP if set
uint8_t bnip_type; // 0 == not set
char bnip_number[HFP_BNEP_NUM_MAX_SIZE]; //
bool clip_have_alpha;
#ifdef ENABLE_CC256X_ASSISTED_HFP
bool cc256x_send_write_codec_config;