Bluetooth: controller: Fix unused variable compiler warning
Fix unused variable compiler warning with asserts disabled. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
d0f7961283
commit
f8889c1d87
1 changed files with 6 additions and 4 deletions
|
@ -1639,19 +1639,21 @@ static void ticker_update_conn_op_cb(uint32_t status, void *param)
|
|||
|
||||
static void ticker_stop_conn_op_cb(uint32_t status, void *param)
|
||||
{
|
||||
void *p;
|
||||
|
||||
LL_ASSERT(status == TICKER_STATUS_SUCCESS);
|
||||
|
||||
void *p = ull_update_mark(param);
|
||||
|
||||
p = ull_update_mark(param);
|
||||
LL_ASSERT(p == param);
|
||||
}
|
||||
|
||||
static void ticker_start_conn_op_cb(uint32_t status, void *param)
|
||||
{
|
||||
void *p;
|
||||
|
||||
LL_ASSERT(status == TICKER_STATUS_SUCCESS);
|
||||
|
||||
void *p = ull_update_unmark(param);
|
||||
|
||||
p = ull_update_unmark(param);
|
||||
LL_ASSERT(p == param);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue