Browse Source

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
Jiang Jiang Jian 8 năm trước cách đây
mục cha
commit
b6fae21909
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      components/bt/bluedroid/main/bte_init.c

+ 0 - 2
components/bt/bluedroid/main/bte_init.c

@@ -269,8 +269,6 @@ void BTE_InitStack(void)
     if ((bta_gatts_cb_ptr = (tBTA_GATTS_CB *)osi_malloc(sizeof(tBTA_GATTS_CB))) == NULL) {
         return;
     }
-    memset((void *)bta_gattc_cb_ptr, 0, sizeof(tBTA_GATTC_CB));
-    //
     memset((void *)bta_gatts_cb_ptr, 0, sizeof(tBTA_GATTS_CB));
 #endif
 #if BTA_PAN_INCLUDED==TRUE