mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-15 21:40:22 +00:00
hci: emit sco can send now when sco packet is received for HAVE_SCO_TRANSPORT
This commit is contained in:
parent
5b7087c754
commit
ed325439e7
@ -3013,6 +3013,12 @@ static void sco_handler(uint8_t * packet, uint16_t size){
|
||||
hci_stack->sco_packet_handler(HCI_SCO_DATA_PACKET, 0, packet, size);
|
||||
}
|
||||
|
||||
#ifdef HAVE_SCO_TRANSPORT
|
||||
// We can send one packet for each received packet
|
||||
conn->sco_tx_ready++;
|
||||
hci_notify_if_sco_can_send_now();
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_HCI_CONTROLLER_TO_HOST_FLOW_CONTROL
|
||||
conn->num_packets_completed++;
|
||||
hci_stack->host_completed_packets = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user