Skip to content

Commit fc9f976

Browse files
cvinayakppryga-nordic
authored andcommitted
Bluetooth: Controller: Add sync established code comment
Add code comment related to sync context field used to indicate the sync established event being generated towards HCI Layer. Co-authored-by: Piotr Pryga <[email protected]> Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent bebc7a0 commit fc9f976

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

subsys/bluetooth/controller/ll_sw/ull_sync_types.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ struct ll_sync_set {
2121
uint16_t volatile timeout_reload; /* Non-zero when sync established */
2222
uint16_t timeout_expire;
2323

24+
/* Member to store periodic advertising sync prepare.
25+
* Also serves as a flag to inform if sync established was
26+
* already generated.
27+
*/
2428
void (*lll_sync_prepare)(void *param);
2529

2630
#if defined(CONFIG_BT_CTLR_CHECK_SAME_PEER_SYNC) || \

0 commit comments

Comments
 (0)