Component/bt: fix build ble server error with BT_BLE_DYNAMIC_ENV_MEMORY option
This commit is contained in:
parent
6acb38af4c
commit
1e6f52fb6f
|
@ -269,8 +269,6 @@ void BTE_InitStack(void)
|
||||||
if ((bta_gatts_cb_ptr = (tBTA_GATTS_CB *)osi_malloc(sizeof(tBTA_GATTS_CB))) == NULL) {
|
if ((bta_gatts_cb_ptr = (tBTA_GATTS_CB *)osi_malloc(sizeof(tBTA_GATTS_CB))) == NULL) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
memset((void *)bta_gattc_cb_ptr, 0, sizeof(tBTA_GATTC_CB));
|
|
||||||
//
|
|
||||||
memset((void *)bta_gatts_cb_ptr, 0, sizeof(tBTA_GATTS_CB));
|
memset((void *)bta_gatts_cb_ptr, 0, sizeof(tBTA_GATTS_CB));
|
||||||
#endif
|
#endif
|
||||||
#if BTA_PAN_INCLUDED==TRUE
|
#if BTA_PAN_INCLUDED==TRUE
|
||||||
|
|
Loading…
Reference in a new issue