mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-05 00:40:19 +00:00
Merge pull request #128 from apmorton/features/pre-buffer-fix
hci: allow HCI_OUTGOING_PRE_BUFFER_SIZE to be overridden in btstack_config.h
This commit is contained in:
commit
b64a5f121f
@ -109,11 +109,13 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
// additional pre-buffer space for packets to Bluetooth module, for now, used for HCI Transport H4 DMA
|
||||
#ifndef HCI_OUTGOING_PRE_BUFFER_SIZE
|
||||
#ifdef HAVE_HOST_CONTROLLER_API
|
||||
#define HCI_OUTGOING_PRE_BUFFER_SIZE 0
|
||||
#else
|
||||
#define HCI_OUTGOING_PRE_BUFFER_SIZE 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// BNEP may uncompress the IP Header by 16 bytes
|
||||
#ifndef HCI_INCOMING_PRE_BUFFER_SIZE
|
||||
|
Loading…
x
Reference in New Issue
Block a user