Skip to content

Commit 40aa072

Browse files
committed
Fix compile error.
Include btstack_config.h only when we are doing bluetooth.
1 parent 671d0cb commit 40aa072

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/pbio/drv/bluetooth/bluetooth_btstack.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33

44
// Bluetooth driver using BlueKitchen BTStack.
55

6-
#include <btstack_config.h>
76
#include <pbdrv/config.h>
87

98
#if PBDRV_CONFIG_BLUETOOTH_BTSTACK
109

10+
#include <btstack_config.h>
11+
1112
#include <assert.h>
1213
#include <inttypes.h>
1314
#include <stdio.h>

0 commit comments

Comments
 (0)