mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-10 00:41:06 +00:00
return BTSTACK_ACL_BUFFERS_FULL instead or -1
This commit is contained in:
parent
9025188b5c
commit
5932f1b489
@ -215,7 +215,7 @@ int hci_ready_to_send(hci_con_handle_t handle){
|
||||
int hci_send_acl_packet(uint8_t *packet, int size){
|
||||
|
||||
// check for free places on BT module
|
||||
if (!hci_number_free_acl_slots()) return -1;
|
||||
if (!hci_number_free_acl_slots()) return BTSTACK_ACL_BUFFERS_FULL;
|
||||
|
||||
hci_con_handle_t con_handle = READ_ACL_CONNECTION_HANDLE(packet);
|
||||
hci_connection_t *connection = connection_for_handle( con_handle);
|
||||
|
Loading…
Reference in New Issue
Block a user