Skip to content

Commit 1f54179

Browse files
sjanccarlescufi
authored andcommitted
Bluetooth: Controller: Fix build for hci_uart sample with new LLCP
ull_tx_queue.h needs to be included before ll_sw/ull_conn_types.h zephyr/zephyr/subsys/bluetooth/controller/hci/hci.c In file included from zephyr/zephyr/subsys/bluetooth/controller/ hci/hci.c:52: ../../subsys/bluetooth/controller/./ll_sw/ull_conn_types.h:453:18: error: field 'tx_q' has incomplete type 453 | struct ull_tx_q tx_q; | ^~~~ Signed-off-by: Szymon Janc <[email protected]>
1 parent b652fe2 commit 1f54179

File tree

1 file changed

+4
-4
lines changed
  • subsys/bluetooth/controller/hci

1 file changed

+4
-4
lines changed

subsys/bluetooth/controller/hci/hci.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646

4747
#include "ll_sw/isoal.h"
4848

49+
#if !defined(CONFIG_BT_LL_SW_LLCP_LEGACY)
50+
#include "ull_tx_queue.h"
51+
#endif
52+
4953
#include "ll_sw/ull_adv_types.h"
5054
#include "ll_sw/ull_scan_types.h"
5155
#include "ll_sw/ull_sync_types.h"
@@ -54,10 +58,6 @@
5458
#include "ll_sw/ull_conn_iso_types.h"
5559
#include "ll_sw/ull_df_types.h"
5660

57-
#if !defined(CONFIG_BT_LL_SW_LLCP_LEGACY)
58-
#include "ull_tx_queue.h"
59-
#endif
60-
6161
#include "ll_sw/ull_adv_internal.h"
6262
#include "ll_sw/ull_sync_internal.h"
6363
#include "ll_sw/ull_conn_internal.h"

0 commit comments

Comments
 (0)