Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions include/bm/softdevice_handler/nrf_sdh.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ struct nrf_sdh_state_evt_observer {
#define NRF_SDH_STATE_EVT_OBSERVER(_observer, _handler, _ctx, _prio) \
PRIO_LEVEL_IS_VALID(_prio); \
static int _handler(enum nrf_sdh_state_evt, void *); \
TYPE_SECTION_ITERABLE(struct nrf_sdh_state_evt_observer, _observer, \
nrf_sdh_state_evt_observers, PRIO_LEVEL_ORD(_prio)) = { \
static TYPE_SECTION_ITERABLE(struct nrf_sdh_state_evt_observer, _observer, \
nrf_sdh_state_evt_observers, PRIO_LEVEL_ORD(_prio)) = { \
.handler = _handler, \
.context = _ctx, \
}
Expand Down Expand Up @@ -191,8 +191,8 @@ struct nrf_sdh_stack_evt_observer {
#define NRF_SDH_STACK_EVT_OBSERVER(_observer, _handler, _ctx, _prio) \
PRIO_LEVEL_IS_VALID(_prio); \
static void _handler(void *); \
const TYPE_SECTION_ITERABLE(struct nrf_sdh_stack_evt_observer, _observer, \
nrf_sdh_stack_evt_observers, PRIO_LEVEL_ORD(_prio)) = { \
static const TYPE_SECTION_ITERABLE(struct nrf_sdh_stack_evt_observer, _observer, \
nrf_sdh_stack_evt_observers, PRIO_LEVEL_ORD(_prio)) = { \
.handler = _handler, \
.context = _ctx, \
}
Expand Down
4 changes: 2 additions & 2 deletions include/bm/softdevice_handler/nrf_sdh_soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ struct nrf_sdh_soc_evt_observer {
*/
#define NRF_SDH_SOC_OBSERVER(_observer, _handler, _ctx, _prio) \
PRIO_LEVEL_IS_VALID(_prio); \
const TYPE_SECTION_ITERABLE(struct nrf_sdh_soc_evt_observer, _observer, \
nrf_sdh_soc_evt_observers, PRIO_LEVEL_ORD(_prio)) = { \
static const TYPE_SECTION_ITERABLE(struct nrf_sdh_soc_evt_observer, _observer, \
nrf_sdh_soc_evt_observers, PRIO_LEVEL_ORD(_prio)) = { \
.handler = _handler, \
.context = _ctx, \
}
Expand Down