mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
NimBLE: Use dynamic buffers instead of static memory.
This commit is contained in:
parent
ba1119a725
commit
baf4240776
@ -227,20 +227,10 @@ static const esp_vhci_host_callback_t vhci_host_cb = {
|
||||
.notify_host_recv = host_rcv_pkt,
|
||||
};
|
||||
|
||||
static void ble_buf_free(void)
|
||||
{
|
||||
os_msys_buf_free();
|
||||
}
|
||||
|
||||
static esp_err_t ble_buf_alloc(void)
|
||||
{
|
||||
if (os_msys_buf_alloc()) {
|
||||
return ESP_ERR_NO_MEM;
|
||||
}
|
||||
|
||||
return ESP_OK;
|
||||
}
|
||||
extern void ble_transport_init(void);
|
||||
extern esp_err_t ble_buf_alloc(void);
|
||||
extern void ble_buf_free(void);
|
||||
esp_err_t esp_nimble_hci_init(void)
|
||||
{
|
||||
esp_err_t ret;
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 86007550e226fd810135558c2aa08acbdc602e95
|
||||
Subproject commit 46591d402d5a321707caa40d9b033a7109838283
|
Loading…
Reference in New Issue
Block a user