bluetooth: controller: use correct CONFIG for central CIS create proc. data
Use CONFIG_BT_CTLR_CENTRAL_ISO instead of CONFIG_BT_CENTRAL in declaring central CIS CREATE procedure context data. In some configs the size of this data structure is bound by central CIS CREATE, so doing it correctly will save memory in the procedure context allocation. Signed-off-by: Erik Brockhoff <erbr@oticon.com>
This commit is contained in:
parent
58d204acf9
commit
83f0647762
1 changed files with 2 additions and 2 deletions
|
@ -276,7 +276,7 @@ struct proc_ctx {
|
|||
#if defined(CONFIG_BT_PERIPHERAL)
|
||||
uint32_t host_request_to;
|
||||
#endif /* defined(CONFIG_BT_PERIPHERAL) */
|
||||
#if defined(CONFIG_BT_CENTRAL)
|
||||
#if defined(CONFIG_BT_CTLR_CENTRAL_ISO)
|
||||
uint32_t cig_sync_delay;
|
||||
uint32_t cis_sync_delay;
|
||||
uint8_t c_phy;
|
||||
|
@ -295,7 +295,7 @@ struct proc_ctx {
|
|||
uint8_t c_ft;
|
||||
uint8_t p_ft;
|
||||
uint8_t aa[4];
|
||||
#endif /* defined(CONFIG_BT_CENTRAL) */
|
||||
#endif /* defined(CONFIG_BT_CTLR_CENTRAL_ISO) */
|
||||
} cis_create;
|
||||
|
||||
struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue