File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77#ifdef ESP_PLATFORM
88#include "syscfg/syscfg.h"
9- #if CONFIG_BT_LE_CONTROLLER_NPL_OS_PORTING_SUPPORT && CONFIG_BT_BLUEDROID_ENABLED
9+ #if CONFIG_BT_LE_CONTROLLER_NPL_OS_PORTING_SUPPORT
1010
1111#include <stdio.h>
1212#include <string.h>
Original file line number Diff line number Diff line change 66
77#include <syscfg/syscfg.h>
88#ifdef ESP_PLATFORM
9- # if !defined(CONFIG_IDF_TARGET_ESP32 ) && !defined(CONFIG_IDF_TARGET_ESP32C3 ) && \
10- !defined(CONFIG_IDF_TARGET_ESP32S3 ) && CONFIG_BT_BLUEDROID_ENABLED
9+ # if !defined(CONFIG_IDF_TARGET_ESP32 ) && !defined(CONFIG_IDF_TARGET_ESP32C3 ) && !defined(CONFIG_IDF_TARGET_ESP32S3 )
1110
1211#include <assert.h>
1312#include <string.h>
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ esp_err_t esp_nimble_init(void)
9595 os_mempool_module_init ();
9696 os_msys_init ();
9797
98- #elif CONFIG_BT_LE_CONTROLLER_NPL_OS_PORTING_SUPPORT && CONFIG_BT_BLUEDROID_ENABLED
98+ #elif CONFIG_BT_LE_CONTROLLER_NPL_OS_PORTING_SUPPORT
9999 hci_transport_deinit ();
100100 na_hci_transport_init (HCI_TRANSPORT_VHCI );
101101 int na_npl_freertos_mempool_init (void );
@@ -137,8 +137,7 @@ esp_err_t esp_nimble_deinit(void)
137137
138138 ble_transport_ll_deinit ();
139139
140- #if CONFIG_BT_LE_CONTROLLER_NPL_OS_PORTING_SUPPORT && CONFIG_BT_BLUEDROID_ENABLED
141- na_hci_transport_deinit ();
140+ #if CONFIG_BT_LE_CONTROLLER_NPL_OS_PORTING_SUPPORT
142141 void na_npl_freertos_mempool_deinit (void );
143142 na_npl_freertos_mempool_deinit ();
144143 ble_npl_eventq_deinit (& g_eventq_dflt );
Original file line number Diff line number Diff line change @@ -661,7 +661,6 @@ static os_membuf_t *ble_freertos_mutex_buf = NULL;
661661
662662static uint16_t ble_freertos_total_event_cnt = 0 ;
663663
664- #if CONFIG_BT_BLUEDROID_ENABLED
665664int na_npl_freertos_mempool_init (void )
666665{
667666 int rc = -1 ;
@@ -818,5 +817,3 @@ na_npl_freertos_eventq_init(struct ble_npl_eventq *evq)
818817 }
819818}
820819#endif /* CONFIG_BT_BLUEDROID_ENABLED */
821-
822- #endif
You can’t perform that action at this time.
0 commit comments