Skip to content

Commit d201055

Browse files
Andries KruithofMaureenHelm
authored andcommitted
Tests: bluetooth: fix ctrl_user_ext test
The tests/bluetooth/ctrl_user_ext test fails due to compilation errors, which are fixed with this PR Signed-off-by: Andries Kruithof <[email protected]>
1 parent 05cc2e1 commit d201055

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

subsys/bluetooth/controller/ll_sw/ull.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@
5555
#include "ull_df_types.h"
5656
#include "ull_df_internal.h"
5757

58+
#if defined(CONFIG_BT_CTLR_USER_EXT)
59+
#include "ull_vendor.h"
60+
#endif /* CONFIG_BT_CTLR_USER_EXT */
61+
5862
#include "isoal.h"
5963
#include "ull_internal.h"
6064
#include "ull_iso_internal.h"
@@ -72,10 +76,6 @@
7276
#include "ull_conn_iso_internal.h"
7377
#include "ull_peripheral_iso_internal.h"
7478

75-
#if defined(CONFIG_BT_CTLR_USER_EXT)
76-
#include "ull_vendor.h"
77-
#endif /* CONFIG_BT_CTLR_USER_EXT */
78-
7979
#include "ll.h"
8080
#include "ll_feat.h"
8181
#include "ll_test.h"

subsys/bluetooth/controller/ll_sw/ull_conn.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@
4141
#include "ull_iso_types.h"
4242
#include "ull_conn_types.h"
4343
#include "ull_conn_iso_types.h"
44+
45+
#if defined(CONFIG_BT_CTLR_USER_EXT)
46+
#include "ull_vendor.h"
47+
#endif /* CONFIG_BT_CTLR_USER_EXT */
48+
4449
#include "ull_internal.h"
4550
#include "ull_sched_internal.h"
4651
#include "ull_chan_internal.h"
@@ -52,9 +57,6 @@
5257
#include "ull_conn_iso_internal.h"
5358
#include "ull_peripheral_iso_internal.h"
5459

55-
#if defined(CONFIG_BT_CTLR_USER_EXT)
56-
#include "ull_vendor.h"
57-
#endif /* CONFIG_BT_CTLR_USER_EXT */
5860

5961
#include "ll.h"
6062
#include "ll_feat.h"

subsys/bluetooth/controller/ll_sw/ull_internal.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#define CONN_INTERVAL_MIN(x) (6)
1313
#else /* CONFIG_BT_CTLR_USER_CPR_INTERVAL_MIN */
1414
/* Proprietary user defined CPR Interval Minimum */
15-
extern uint16_t ull_conn_interval_min_get(struct ll_conn *conn);
1615
#define CONN_INTERVAL_MIN(x) (MAX(ull_conn_interval_min_get(x), 1))
1716
#endif /* CONFIG_BT_CTLR_USER_CPR_INTERVAL_MIN */
1817

subsys/bluetooth/controller/ll_sw/ull_scan.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
#include "ull_adv_types.h"
3838
#include "ull_filter.h"
3939

40+
#include "ull_conn_types.h"
4041
#include "ull_internal.h"
4142
#include "ull_adv_internal.h"
4243
#include "ull_scan_types.h"

0 commit comments

Comments
 (0)