mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 21:35:16 +00:00
allow for HCI_PACKET_BUFFER_SIZE override
This commit is contained in:
parent
ffabb497c5
commit
23ac074392
@ -90,11 +90,13 @@ extern "C" {
|
||||
|
||||
// size of hci buffers, big enough for command, event, or acl packet without H4 packet type
|
||||
// @note cmd buffer is bigger than event buffer
|
||||
#ifndef HCI_PACKET_BUFFER_SIZE
|
||||
#if HCI_ACL_BUFFER_SIZE > HCI_CMD_BUFFER_SIZE
|
||||
#define HCI_PACKET_BUFFER_SIZE HCI_ACL_BUFFER_SIZE
|
||||
#else
|
||||
#define HCI_PACKET_BUFFER_SIZE HCI_CMD_BUFFER_SIZE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// OGFs
|
||||
#define OGF_LINK_CONTROL 0x01
|
||||
|
Loading…
x
Reference in New Issue
Block a user