components/bt: move deinit_semaphore definition to source file

This commit is contained in:
Anton Maklakov 2022-01-25 11:17:15 +07:00
parent 9a7d9b59c1
commit 85462d17a5
2 changed files with 2 additions and 1 deletions

View File

@ -42,6 +42,7 @@ tBTA_DM_DI_CB bta_dm_di_cb;
tBTA_DM_CB *bta_dm_cb_ptr;
tBTA_DM_SEARCH_CB *bta_dm_search_cb_ptr;
tBTA_DM_DI_CB *bta_dm_di_cb_ptr;
SemaphoreHandle_t deinit_semaphore;
#endif

View File

@ -1481,7 +1481,7 @@ extern tBTA_DM_DI_CB bta_dm_di_cb;
#else
extern tBTA_DM_DI_CB *bta_dm_di_cb_ptr;
#define bta_dm_di_cb (*bta_dm_di_cb_ptr)
SemaphoreHandle_t deinit_semaphore;
extern SemaphoreHandle_t deinit_semaphore;
#endif
#if BTA_DYNAMIC_MEMORY == FALSE