mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-26 09:41:01 +00:00
don't disconnect SCL on audio release
This commit is contained in:
parent
cc6c05f9d9
commit
9d215ccf84
@ -594,8 +594,6 @@ void hfp_handle_hci_event(hfp_callback_t callback, uint8_t packet_type, uint8_t
|
|||||||
log_info("SCO disconnected, w2 disconnect RFCOMM\n");
|
log_info("SCO disconnected, w2 disconnect RFCOMM\n");
|
||||||
context->sco_handle = 0;
|
context->sco_handle = 0;
|
||||||
context->release_audio_connection = 0;
|
context->release_audio_connection = 0;
|
||||||
context->state = HFP_W2_DISCONNECT_RFCOMM;
|
|
||||||
hfp_emit_event(callback, HFP_SUBEVENT_AUDIO_CONNECTION_RELEASED, 0);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user