Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bd3adde

Browse filesBrowse files
authored
Fixed use of Bluedroid instead of BT in HAL. (espressif#4879)
Fixed use of CONFIG_BLUEDROID_ENABLED instead of CONFIG_BT_ENABLED in HAL. This prevented compilation with Nimble-only configuration without apparent benefit.
1 parent 1cf1c8e commit bd3adde
Copy full SHA for bd3adde

File tree

Expand file treeCollapse file tree

1 file changed

+4
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-5
lines changed

‎cores/esp32/esp32-hal-bt.c

Copy file name to clipboardExpand all lines: cores/esp32/esp32-hal-bt.c
+4-5Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@
1818

1919
bool btInUse(){ return true; }
2020

21-
#ifdef CONFIG_BLUEDROID_ENABLED
2221
#include "esp_bt.h"
2322

24-
#ifdef CONFIG_CLASSIC_BT_ENABLED
23+
#ifdef CONFIG_BT_CLASSIC_ENABLED
2524
#define BT_MODE ESP_BT_MODE_BTDM
2625
#else
2726
#define BT_MODE ESP_BT_MODE_BLE
@@ -79,7 +78,7 @@ bool btStop(){
7978
return false;
8079
}
8180

82-
#else
81+
#else // CONFIG_BT_ENABLED
8382
bool btStarted()
8483
{
8584
return false;
@@ -94,6 +93,6 @@ bool btStop()
9493
{
9594
return false;
9695
}
97-
#endif
98-
#endif
96+
97+
#endif // CONFIG_BT_ENABLED
9998

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.