Skip to content

Commit 381bff5

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 e07d39b commit 381bff5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

include/nrf_sdh.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ struct nrf_sdh_state_evt_observer {
148148
nrf_sdh_state_evt_observers, PRIO_LEVEL_ORD(_prio)) = { \
149149
.handler = _handler, \
150150
.context = _ctx, \
151-
};
151+
}
152152

153153
/**
154154
* @brief SoftDevice stack event handler.
@@ -189,7 +189,7 @@ struct nrf_sdh_stack_evt_observer {
189189
nrf_sdh_stack_evt_observers, PRIO_LEVEL_ORD(_prio)) = { \
190190
.handler = _handler, \
191191
.context = _ctx, \
192-
};
192+
}
193193

194194
/**
195195
* @brief Enable the SoftDevice.

include/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/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)