Skip to content

Commit 21be6a2

Browse files
cvinayakalayander
authored andcommitted
Bluetooth: Controller: Fix regression due to use of TMR_START_DELAY_US
Fix regression due to use of HAL_RADIO_TMR_START_DELAY_US introduced in commit 11bae5c ("Bluetooth: Controller: Fix missing radio timer comp and range delay"). Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 0a98a27 commit 21be6a2

File tree

1 file changed

+1
-1
lines changed
  • subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio

1 file changed

+1
-1
lines changed

subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ void sw_switch(uint8_t dir_curr, uint8_t dir_next, uint8_t phy_curr, uint8_t fla
904904
if (delay < SW_SWITCH_TIMER->CC[cc]) {
905905
nrf_timer_cc_set(SW_SWITCH_TIMER,
906906
cc,
907-
(SW_SWITCH_TIMER->CC[cc] - delay - HAL_RADIO_TMR_START_DELAY_US));
907+
(SW_SWITCH_TIMER->CC[cc] - delay));
908908
} else {
909909
nrf_timer_cc_set(SW_SWITCH_TIMER, cc, 1);
910910
}

0 commit comments

Comments
 (0)