Skip to content

Commit

Permalink
nimble/ll: Fix ports build
Browse files Browse the repository at this point in the history
The assert only works on MyNewt
  • Loading branch information
bvdberg committed May 12, 2023
1 parent 631380a commit d7aefdb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nimble/controller/src/ble_ll_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,7 @@ ble_ll_sync_sm_clear(struct ble_ll_sync_sm *sm)
}

ble_ll_rfmgmt_release();

BLE_LL_ASSERT(sm->sync_ev_end.ev.ev_queued == 0);
BLE_LL_ASSERT(ble_npl_event_is_queued(&sm->sync_ev_end) == 0);
BLE_LL_ASSERT(sm->sch.enqueued == 0);

memset(sm, 0, sizeof(*sm));
Expand Down

0 comments on commit d7aefdb

Please sign in to comment.