mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 08:42:28 +00:00
hci_transport_h4_embedded: fix offset for SCO length byte
This commit is contained in:
parent
664e8b55a1
commit
af2052448e
@ -216,7 +216,7 @@ static void h4_block_received(void){
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case H4_W4_SCO_HEADER:
|
case H4_W4_SCO_HEADER:
|
||||||
bytes_to_read = hci_packet[2];
|
bytes_to_read = hci_packet[3];
|
||||||
if (bytes_to_read == 0) {
|
if (bytes_to_read == 0) {
|
||||||
h4_state = H4_PACKET_RECEIVED;
|
h4_state = H4_PACKET_RECEIVED;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user