diff --git a/subsys/bluetooth/controller/ll_sw/ull.c b/subsys/bluetooth/controller/ll_sw/ull.c index 448209b9d5f..76ed5140941 100644 --- a/subsys/bluetooth/controller/ll_sw/ull.c +++ b/subsys/bluetooth/controller/ll_sw/ull.c @@ -55,6 +55,10 @@ #include "ull_df_types.h" #include "ull_df_internal.h" +#if defined(CONFIG_BT_CTLR_USER_EXT) +#include "ull_vendor.h" +#endif /* CONFIG_BT_CTLR_USER_EXT */ + #include "isoal.h" #include "ull_internal.h" #include "ull_iso_internal.h" @@ -72,10 +76,6 @@ #include "ull_conn_iso_internal.h" #include "ull_peripheral_iso_internal.h" -#if defined(CONFIG_BT_CTLR_USER_EXT) -#include "ull_vendor.h" -#endif /* CONFIG_BT_CTLR_USER_EXT */ - #include "ll.h" #include "ll_feat.h" #include "ll_test.h" diff --git a/subsys/bluetooth/controller/ll_sw/ull_conn.c b/subsys/bluetooth/controller/ll_sw/ull_conn.c index 69172251b90..a1560b0d7f7 100644 --- a/subsys/bluetooth/controller/ll_sw/ull_conn.c +++ b/subsys/bluetooth/controller/ll_sw/ull_conn.c @@ -41,6 +41,11 @@ #include "ull_iso_types.h" #include "ull_conn_types.h" #include "ull_conn_iso_types.h" + +#if defined(CONFIG_BT_CTLR_USER_EXT) +#include "ull_vendor.h" +#endif /* CONFIG_BT_CTLR_USER_EXT */ + #include "ull_internal.h" #include "ull_sched_internal.h" #include "ull_chan_internal.h" @@ -52,9 +57,6 @@ #include "ull_conn_iso_internal.h" #include "ull_peripheral_iso_internal.h" -#if defined(CONFIG_BT_CTLR_USER_EXT) -#include "ull_vendor.h" -#endif /* CONFIG_BT_CTLR_USER_EXT */ #include "ll.h" #include "ll_feat.h" diff --git a/subsys/bluetooth/controller/ll_sw/ull_internal.h b/subsys/bluetooth/controller/ll_sw/ull_internal.h index 5acd6135cbb..6208e85f959 100644 --- a/subsys/bluetooth/controller/ll_sw/ull_internal.h +++ b/subsys/bluetooth/controller/ll_sw/ull_internal.h @@ -12,7 +12,6 @@ #define CONN_INTERVAL_MIN(x) (6) #else /* CONFIG_BT_CTLR_USER_CPR_INTERVAL_MIN */ /* Proprietary user defined CPR Interval Minimum */ -extern uint16_t ull_conn_interval_min_get(struct ll_conn *conn); #define CONN_INTERVAL_MIN(x) (MAX(ull_conn_interval_min_get(x), 1)) #endif /* CONFIG_BT_CTLR_USER_CPR_INTERVAL_MIN */ diff --git a/subsys/bluetooth/controller/ll_sw/ull_scan.c b/subsys/bluetooth/controller/ll_sw/ull_scan.c index ef08a89a1b3..8f65fbe0789 100644 --- a/subsys/bluetooth/controller/ll_sw/ull_scan.c +++ b/subsys/bluetooth/controller/ll_sw/ull_scan.c @@ -37,6 +37,7 @@ #include "ull_adv_types.h" #include "ull_filter.h" +#include "ull_conn_types.h" #include "ull_internal.h" #include "ull_adv_internal.h" #include "ull_scan_types.h"