8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 099b432 commit c783918Copy full SHA for c783918
cores/esp32/esp32-hal-bt.c
@@ -16,8 +16,12 @@
16
17
#ifdef CONFIG_BT_ENABLED
18
19
+#if CONFIG_IDF_TARGET_ESP32
20
+bool btInUse(){ return true; }
21
+#else
22
// user may want to change it to free resources
23
__attribute__((weak)) bool btInUse(){ return true; }
24
+#endif
25
26
#include "esp_bt.h"
27
cores/esp32/esp32-hal-misc.c
@@ -209,9 +209,15 @@ bool verifyRollbackLater() { return false; }
209
#endif
210
211
212
213
+//overwritten in esp32-hal-bt.c
214
+bool btInUse() __attribute__((weak));
215
+bool btInUse(){ return false; }
216
217
//from esp32-hal-bt.c
218
extern bool btInUse();
219
220
221
222
void initArduino()
223
{
0 commit comments