Skip to content

Commit dd95c22

Browse files
cvinayakkartben
authored andcommitted
Bluetooth: Controller: Fix single timer s/w switch base indices
Fix single timer s/w switch base indices from overlapping with sample index. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 3bc2462 commit dd95c22

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio_nrf5_resources.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
#define HAL_RADIO_ISR_LATENCY_MAX_US 80U
5959

6060
#if defined(CONFIG_BT_CTLR_PHY_CODED)
61-
#define SW_SWITCH_TIMER_EVTS_COMP_BASE 3
62-
#define SW_SWITCH_TIMER_EVTS_COMP_S2_BASE 5
61+
#define SW_SWITCH_TIMER_EVTS_COMP_BASE 4
62+
#define SW_SWITCH_TIMER_EVTS_COMP_S2_BASE 6
6363

6464
/* Wrapper for EVENTS_END event generated by Radio peripheral at the very end of the transmission
6565
* or reception of a PDU on air. In case of regular PDU it is generated when last bit of CRC is
@@ -81,8 +81,8 @@
8181
#define HAL_EVENT_TIMER_DEFERRED_TRX_CC_OFFSET 2
8282
#define HAL_EVENT_TIMER_DEFERRED_TX_EVENT NRF_TIMER_EVENT_COMPARE2
8383

84-
#define HAL_EVENT_TIMER_SAMPLE_CC_OFFSET 2
85-
#define HAL_EVENT_TIMER_SAMPLE_TASK NRF_TIMER_TASK_CAPTURE2
84+
#define HAL_EVENT_TIMER_SAMPLE_CC_OFFSET 3
85+
#define HAL_EVENT_TIMER_SAMPLE_TASK NRF_TIMER_TASK_CAPTURE3
8686

8787
#define HAL_EVENT_TIMER_PA_LNA_CC_OFFSET 2
8888
#define HAL_EVENT_TIMER_PA_LNA_PDN_CC_OFFSET 3

0 commit comments

Comments
 (0)