mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-20 10:20:48 +00:00
hfp_hf: remove unused var done
This commit is contained in:
parent
fffdd28857
commit
54de1dad16
@ -854,7 +854,6 @@ static void hfp_ag_slc_established(hfp_connection_t * hfp_connection){
|
||||
|
||||
static void hfp_hf_switch_on_ok(hfp_connection_t *hfp_connection){
|
||||
hfp_connection->ok_pending = 0;
|
||||
int done = 1;
|
||||
switch (hfp_connection->state){
|
||||
case HFP_W4_EXCHANGE_SUPPORTED_FEATURES:
|
||||
if (has_codec_negotiation_feature(hfp_connection)){
|
||||
@ -947,12 +946,10 @@ static void hfp_hf_switch_on_ok(hfp_connection_t *hfp_connection){
|
||||
hfp_emit_event(hfp_callback, HFP_SUBEVENT_CODECS_CONNECTION_COMPLETE, 0);
|
||||
break;
|
||||
default:
|
||||
done = 0;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
done = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user