add missing have_ble check

This commit is contained in:
matthias.ringwald@gmail.com 2014-09-04 21:08:31 +00:00
parent 00bd262b83
commit a7d12effed

View File

@ -381,8 +381,10 @@ void btstack_memory_init(void){
#if MAX_NO_DB_MEM_SERVICES > 0
memory_pool_create(&db_mem_service_pool, db_mem_service_storage, MAX_NO_DB_MEM_SERVICES, sizeof(db_mem_service_t));
#endif
#ifdef HAVE_BLE
#if MAX_NO_GATT_CLIENTS > 0
memory_pool_create(&gatt_client_pool, gatt_client_storage, MAX_NO_GATT_CLIENTS, sizeof(gatt_client_t));
#endif
#endif
}