Skip to content

Commit 1e6f52f

Browse files
Component/bt: fix build ble server error with BT_BLE_DYNAMIC_ENV_MEMORY option
1 parent 6acb38a commit 1e6f52f

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)