diff --git a/features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/hal_patch/critical_section_api.c b/features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/hal_patch/critical_section_api.c index 32245e1a2b..2a009c464d 100644 --- a/features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/hal_patch/critical_section_api.c +++ b/features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/hal_patch/critical_section_api.c @@ -72,7 +72,7 @@ void hal_critical_section_exit(void) // Restore the state as it was prior to entering the critical section. if (_use_softdevice_routine) { - sd_nvic_critical_region_exit(_state._sd_state) + sd_nvic_critical_region_exit(_state._sd_state); } else { __set_PRIMASK(_state._PRIMASK_state); }