mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 12:35:25 +00:00
hci: fix event logging in hci_emit_event
This commit is contained in:
parent
4195f5cd7c
commit
300c1ba48b
@ -2902,7 +2902,7 @@ int hci_send_cmd(const hci_cmd_t *cmd, ...){
|
||||
static void hci_emit_event(uint8_t * event, uint16_t size, int dump){
|
||||
// dump packet
|
||||
if (dump) {
|
||||
hci_dump_packet( HCI_EVENT_PACKET, 0, event, sizeof(event));
|
||||
hci_dump_packet( HCI_EVENT_PACKET, 0, event, size);
|
||||
}
|
||||
|
||||
// dispatch to all event handlers
|
||||
|
Loading…
x
Reference in New Issue
Block a user