File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
subsys/bluetooth/controller/ll_sw Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,9 @@ static int init_reset(void);
65
65
/* Allocate data path pools for RX/TX directions for each stream */
66
66
#define BT_CTLR_ISO_STREAMS ((2 * (BT_CTLR_CONN_ISO_STREAMS)) + \
67
67
BT_CTLR_SYNC_ISO_STREAMS)
68
+ #if BT_CTLR_ISO_STREAMS
68
69
static struct ll_iso_datapath datapath_pool [BT_CTLR_ISO_STREAMS ];
70
+ #endif /* BT_CTLR_ISO_STREAMS */
69
71
70
72
static void * datapath_free ;
71
73
@@ -838,9 +840,11 @@ static int init_reset(void)
838
840
CONFIG_BT_CTLR_ISO_TX_BUFFERS , & mem_link_tx .free );
839
841
#endif /* CONFIG_BT_CTLR_ADV_ISO || CONFIG_BT_CTLR_CONN_ISO */
840
842
843
+ #if BT_CTLR_ISO_STREAMS
841
844
/* Initialize ISO Datapath pool */
842
845
mem_init (datapath_pool , sizeof (struct ll_iso_datapath ),
843
846
sizeof (datapath_pool ) / sizeof (struct ll_iso_datapath ), & datapath_free );
847
+ #endif /* BT_CTLR_ISO_STREAMS */
844
848
845
849
return 0 ;
846
850
}
You can’t perform that action at this time.
0 commit comments