]> granicus.if.org Git - esp-idf/commitdiff
Component/bt: fix build ble server error with BT_BLE_DYNAMIC_ENV_MEMORY option
authorzhiweijian <zhiweijian@espressif.com>
Wed, 28 Feb 2018 08:44:05 +0000 (16:44 +0800)
committerzhiweijian <zhiweijian@espressif.com>
Wed, 28 Feb 2018 08:44:05 +0000 (16:44 +0800)
components/bt/bluedroid/main/bte_init.c

index 6d317fd4ea72dc2b58f6eaa77a33a88ba2bc1907..87605825ff5d7167905c02ed54580bcf02cd344f 100644 (file)
@@ -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