Skip to content

Commit 7db7eda

Browse files
cvinayakfabiobaltieri
authored andcommitted
Bluetooth: Controller: Minor updates to code comments
Minor updates and correction to code comments. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 245aee4 commit 7db7eda

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
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
@@ -1602,7 +1602,7 @@ uint32_t radio_tmr_start_us(uint8_t trx, uint32_t start_us)
16021602
uint32_t now_us = start_us;
16031603
uint32_t actual_us;
16041604

1605-
/* Setup PPI while determining the latency in doing so */
1605+
/* Setup timer compare while determining the latency in doing so */
16061606
do {
16071607
/* Set start to be, now plus the determined latency */
16081608
start_us = (now_us << 1) - start_us;

subsys/bluetooth/controller/ll_sw/nordic/lll/lll_conn.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,9 @@ void lll_conn_isr_tx(void *param)
668668
#if defined(CONFIG_BT_CTLR_PROFILE_ISR) || \
669669
defined(HAL_RADIO_GPIO_HAVE_PA_PIN)
670670
radio_tmr_end_capture();
671-
#endif /* CONFIG_BT_CTLR_PROFILE_ISR */
671+
#endif /* CONFIG_BT_CTLR_PROFILE_ISR ||
672+
* HAL_RADIO_GPIO_HAVE_PA_PIN
673+
*/
672674

673675
#if defined(HAL_RADIO_GPIO_HAVE_LNA_PIN)
674676
radio_gpio_lna_setup();

subsys/bluetooth/controller/ll_sw/nordic/lll/lll_peripheral.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,9 @@ static int prepare_cb(struct lll_prepare_param *p)
317317
#if defined(CONFIG_BT_CTLR_PROFILE_ISR) || \
318318
defined(HAL_RADIO_GPIO_HAVE_PA_PIN)
319319
radio_tmr_end_capture();
320-
#endif /* CONFIG_BT_CTLR_PROFILE_ISR */
320+
#endif /* CONFIG_BT_CTLR_PROFILE_ISR ||
321+
* HAL_RADIO_GPIO_HAVE_PA_PIN
322+
*/
321323

322324
#if defined(CONFIG_BT_CTLR_CONN_RSSI)
323325
radio_rssi_measure();

0 commit comments

Comments
 (0)