mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-05 18:40:27 +00:00
runloop: fix compile in hci_transport_h4_ehcill_embedded
This commit is contained in:
parent
9120e843c2
commit
c8db4fb6b1
@ -409,13 +409,11 @@ static void h4_process(btstack_data_source_t *ds, btstack_data_source_callback_t
|
|||||||
packet_handler(HCI_EVENT_PACKET, &event[0], sizeof(event));
|
packet_handler(HCI_EVENT_PACKET, &event[0], sizeof(event));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (h4_state != H4_PACKET_RECEIVED) return 0;
|
if (h4_state != H4_PACKET_RECEIVED) return;
|
||||||
|
|
||||||
packet_handler(hci_packet[0], &hci_packet[1], read_pos-1);
|
packet_handler(hci_packet[0], &hci_packet[1], read_pos-1);
|
||||||
|
|
||||||
h4_rx_init_sm();
|
h4_rx_init_sm();
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//////////////////////////
|
//////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user