mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 03:35:20 +00:00
avoid warning about incorrect try to avoid warning for link_type
This commit is contained in:
parent
6306068faf
commit
0014e02c94
@ -1603,13 +1603,12 @@ static void event_handler(uint8_t *packet, int size){
|
||||
|
||||
bd_addr_t addr;
|
||||
bd_addr_type_t addr_type;
|
||||
uint8_t link_type;
|
||||
hci_con_handle_t handle;
|
||||
hci_connection_t * conn;
|
||||
int i;
|
||||
|
||||
// warnings
|
||||
(void) link_type;
|
||||
#ifdef ENABLE_CLASSIC
|
||||
uint8_t link_type;
|
||||
#endif
|
||||
|
||||
// log_info("HCI:EVENT:%02x", hci_event_packet_get_type(packet));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user