From f22209df62951ebbb970879c69ffa7a3a7c0eac8 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 22 Dec 2016 22:46:20 +0100 Subject: [PATCH] fix unused params warnings --- src/l2cap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/l2cap.c b/src/l2cap.c index a0a8be304..3f1740f64 100644 --- a/src/l2cap.c +++ b/src/l2cap.c @@ -1088,7 +1088,8 @@ static void l2cap_hci_event_handler(uint8_t packet_type, uint16_t cid, uint8_t * UNUSED(address); UNUSED(hci_con_used); UNUSED(it); - + UNUSED(handle); + switch(hci_event_packet_get_type(packet)){ // Notify channel packet handler if they can send now