mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
hci: allow HCI_OUTGOING_PRE_BUFFER_SIZE to be overridden in btstack_config.h
This commit is contained in:
parent
895588b9a7
commit
4ccd6018f1
@ -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