change(bt): separated host mem apis from bt_osi_mem.c

This commit is contained in:
ShenWeilong
2026-05-07 10:38:08 +08:00
committed by BOT
parent 7cfcecc85f
commit f02a0dcb9d
11 changed files with 499 additions and 459 deletions
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2021-2026 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/
@@ -966,9 +966,6 @@ void app_main(void)
ble_hs_cfg.store_status_cb = ble_store_util_status_rr;
/* Starting nimble task after gatts is initialized*/
ret = esp_nimble_enable(ble_hid_device_host_task);
if (ret) {
ESP_LOGE(TAG, "esp_nimble_enable failed: %d", ret);
}
nimble_port_freertos_init(ble_hid_device_host_task);
#endif
}