mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 13:20:39 +00:00
hci.h: mark transport config as const
This commit is contained in:
parent
95d7176479
commit
9d294ab530
@ -1880,7 +1880,7 @@ static void hci_state_reset(void){
|
|||||||
hci_stack->le_connection_parameter_range.le_supervision_timeout_max = 3200;
|
hci_stack->le_connection_parameter_range.le_supervision_timeout_max = 3200;
|
||||||
}
|
}
|
||||||
|
|
||||||
void hci_init(const hci_transport_t *transport, void *config, btstack_link_key_db_t const * link_key_db){
|
void hci_init(const hci_transport_t *transport, const void *config, btstack_link_key_db_t const * link_key_db){
|
||||||
|
|
||||||
#ifdef HAVE_MALLOC
|
#ifdef HAVE_MALLOC
|
||||||
if (!hci_stack) {
|
if (!hci_stack) {
|
||||||
|
@ -696,7 +696,7 @@ void hci_local_bd_addr(bd_addr_t address_buffer);
|
|||||||
/**
|
/**
|
||||||
* @brief Set up HCI. Needs to be called before any other function.
|
* @brief Set up HCI. Needs to be called before any other function.
|
||||||
*/
|
*/
|
||||||
void hci_init(const hci_transport_t *transport, void *config, btstack_link_key_db_t const * btstack_link_key_db);
|
void hci_init(const hci_transport_t *transport, const void *config, btstack_link_key_db_t const * btstack_link_key_db);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Configure Bluetooth chipset driver. Has to be called before power on, or right after receiving the local version information.
|
* @brief Configure Bluetooth chipset driver. Has to be called before power on, or right after receiving the local version information.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user