hci_dump: fix build with ENABLE_LOG_BTSTACK_EVENTS

This commit is contained in:
Matthias Ringwald 2024-10-31 20:42:03 +01:00
parent cb912b126f
commit 57ea53d197

View File

@ -118,7 +118,7 @@ void hci_dump_log_P(int log_level, PGM_P format, ...){
void hci_dump_btstack_event(const uint8_t *packet, uint16_t len){
#ifdef ENABLE_LOG_BTSTACK_EVENTS
hci_dump_packet(HCI_EVENT_PACKET, 1, packet, size);
hci_dump_packet(HCI_EVENT_PACKET, 1, packet, len);
#else
UNUSED(packet);
UNUSED(len);