Bluetooth: Controller: Fix coverity issue 330027
Fix coverity issue 330027, Structurally dead code. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
f214913e16
commit
054dc35542
1 changed files with 2 additions and 1 deletions
|
@ -971,7 +971,7 @@ int ull_central_iso_cis_offset_get(uint16_t cis_handle,
|
|||
}
|
||||
|
||||
return -EBUSY;
|
||||
#endif /* CONFIG_BT_CTLR_CENTRAL_SPACING != 0 */
|
||||
#else /* CONFIG_BT_CTLR_CENTRAL_SPACING != 0 */
|
||||
|
||||
*cis_offset_min = HAL_TICKER_TICKS_TO_US(conn->ull.ticks_slot) +
|
||||
(EVENT_TICKER_RES_MARGIN_US << 1U);
|
||||
|
@ -979,6 +979,7 @@ int ull_central_iso_cis_offset_get(uint16_t cis_handle,
|
|||
*cis_offset_min += cig->sync_delay - cis->sync_delay;
|
||||
|
||||
return 0;
|
||||
#endif /* CONFIG_BT_CTLR_CENTRAL_SPACING != 0 */
|
||||
}
|
||||
|
||||
#if (CONFIG_BT_CTLR_CENTRAL_SPACING == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue