Skip to content

Commit f679ee2

Browse files
glennrubdpgeorge
authored andcommitted
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.
1 parent f907139 commit f679ee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/nrf/drivers/bluetooth/ble_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ uint32_t ble_drv_stack_enable(void) {
196196

197197
#if (BLUETOOTH_SD == 132)
198198
uint32_t app_ram_start = 0x200039c0;
199-
#if (BLE_API_VERSION == 3)
199+
#if (BLE_API_VERSION == 2) || (BLE_API_VERSION == 3)
200200
err_code = sd_ble_enable(&ble_enable_params, &app_ram_start); // 8K SD headroom from linker script.
201201
#elif (BLE_API_VERSION >= 4)
202202
err_code = sd_ble_enable(&app_ram_start); // 8K SD headroom from linker script.

0 commit comments

Comments
 (0)