nrf5/hal/irq: Adding include of nrf_nvic.h if s132 bluetooth stack is used to resolve IRQ function wrappers on newer bluetooth stacks.

This commit is contained in:
Glenn Ruben Bakke 2017-05-18 23:19:46 +02:00 committed by glennrub
parent 1192981d24
commit 003f43b5c9
1 changed files with 5 additions and 1 deletions

View File

@ -32,7 +32,11 @@
#include "nrf.h"
#if BLUETOOTH_SD
#include "nrf_sdm.h"
#if NRF51
#include "nrf_sdm.h"
#elif NRF52
#include "nrf_nvic.h"
#endif
#endif
static inline void hal_irq_clear(uint32_t irq_num) {