From 1e6f52fb6f6a1c225b0e5c7a9fa99d49f102d368 Mon Sep 17 00:00:00 2001 From: zhiweijian Date: Wed, 28 Feb 2018 16:44:05 +0800 Subject: [PATCH] Component/bt: fix build ble server error with BT_BLE_DYNAMIC_ENV_MEMORY option --- components/bt/bluedroid/main/bte_init.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/bt/bluedroid/main/bte_init.c b/components/bt/bluedroid/main/bte_init.c index 6d317fd4ea..87605825ff 100644 --- a/components/bt/bluedroid/main/bte_init.c +++ b/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 -- 2.40.0