Skip to content

Commit b6fae21

Browse files
committed
Merge branch 'bugfix/btdm_build_server_error_with_BT_BLE_DYNAMIC_ENV_MEMORY' into 'master'
Component/bt: fix build ble server error with BT_BLE_DYNAMIC_ENV_MEMORY option See merge request idf/esp-idf!1993
2 parents 6acb38a + 1e6f52f commit b6fae21

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

components/bt/bluedroid/main/bte_init.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,6 @@ void BTE_InitStack(void)
269269
if ((bta_gatts_cb_ptr = (tBTA_GATTS_CB *)osi_malloc(sizeof(tBTA_GATTS_CB))) == NULL) {
270270
return;
271271
}
272-
memset((void *)bta_gattc_cb_ptr, 0, sizeof(tBTA_GATTC_CB));
273-
//
274272
memset((void *)bta_gatts_cb_ptr, 0, sizeof(tBTA_GATTS_CB));
275273
#endif
276274
#if BTA_PAN_INCLUDED==TRUE

0 commit comments

Comments
 (0)