From b2f09bc060014aabaaf7daecd3898362e62785d0 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Sun, 19 Jun 2011 19:03:24 +0000 Subject: [PATCH] deleted hci_ready_to_send - unused --- src/hci.c | 4 ---- src/hci.h | 1 - 2 files changed, 5 deletions(-) diff --git a/src/hci.c b/src/hci.c index d89982fbc..ff8eb2c13 100644 --- a/src/hci.c +++ b/src/hci.c @@ -208,10 +208,6 @@ uint16_t hci_max_acl_data_packet_length(){ return hci_stack.acl_data_packet_length; } -int hci_ready_to_send(hci_con_handle_t handle){ - return hci_number_free_acl_slots() && hci_number_outgoing_packets(handle) < 2; -} - int hci_send_acl_packet(uint8_t *packet, int size){ // check for free places on BT module diff --git a/src/hci.h b/src/hci.h index 9d41d707e..04a3ac70c 100644 --- a/src/hci.h +++ b/src/hci.h @@ -275,7 +275,6 @@ int hci_send_acl_packet(uint8_t *packet, int size); hci_connection_t * connection_for_handle(hci_con_handle_t con_handle); uint8_t hci_number_outgoing_packets(hci_con_handle_t handle); uint8_t hci_number_free_acl_slots(void); -int hci_ready_to_send(hci_con_handle_t handle); int hci_authentication_active_for_handle(hci_con_handle_t handle); void hci_drop_link_key_for_bd_addr(bd_addr_t *addr); uint16_t hci_max_acl_data_packet_length(void);