nrf/drivers/ble_drv: Fixing sd_ble_enable bug for SD s132 v.2.0.1

Feather52 target which is using SD s132 v.2.0.1 cannot compile
due to variable containing RAM start address is not used.

This patch enables the correct sd_ble_enable variant for this SD.
This commit is contained in:
Glenn Ruben Bakke 2018-02-11 20:05:59 +01:00 committed by Damien George
parent f907139fab
commit f679ee2092
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ uint32_t ble_drv_stack_enable(void) {
#if (BLUETOOTH_SD == 132)
uint32_t app_ram_start = 0x200039c0;
#if (BLE_API_VERSION == 3)
#if (BLE_API_VERSION == 2) || (BLE_API_VERSION == 3)
err_code = sd_ble_enable(&ble_enable_params, &app_ram_start); // 8K SD headroom from linker script.
#elif (BLE_API_VERSION >= 4)
err_code = sd_ble_enable(&app_ram_start); // 8K SD headroom from linker script.