Skip to content

Commit 48e721c

Browse files
committed
sdh: remove semicolons at the end of observer macros
Remove these, and force users to put a semicolon themselves. Signed-off-by: Emanuele Di Santo <[email protected]>
1 parent ab4d815 commit 48e721c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

include/bm/softdevice_handler/nrf_sdh.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ struct nrf_sdh_state_evt_observer {
154154
nrf_sdh_state_evt_observers, PRIO_LEVEL_ORD(_prio)) = { \
155155
.handler = _handler, \
156156
.context = _ctx, \
157-
};
157+
}
158158

159159
/**
160160
* @brief SoftDevice stack event handler.
@@ -195,7 +195,7 @@ struct nrf_sdh_stack_evt_observer {
195195
nrf_sdh_stack_evt_observers, PRIO_LEVEL_ORD(_prio)) = { \
196196
.handler = _handler, \
197197
.context = _ctx, \
198-
};
198+
}
199199

200200
/**
201201
* @brief Enable the SoftDevice.

include/bm/softdevice_handler/nrf_sdh_ble.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ struct nrf_sdh_ble_evt_observer {
6363
nrf_sdh_ble_evt_observers, PRIO_LEVEL_ORD(_prio)) = { \
6464
.handler = _handler, \
6565
.context = _ctx, \
66-
};
66+
}
6767

6868
/**
6969
* @brief Enable the SoftDevice Bluetooth stack.

include/bm/softdevice_handler/nrf_sdh_soc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ struct nrf_sdh_soc_evt_observer {
5757
nrf_sdh_soc_evt_observers, PRIO_LEVEL_ORD(_prio)) = { \
5858
.handler = _handler, \
5959
.context = _ctx, \
60-
};
60+
}
6161

6262
/**
6363
* @brief Stringify a SoftDevice SoC event.

0 commit comments

Comments
 (0)