Unverified Commit 5548fbe0 authored by Rodrigo Garcia's avatar Rodrigo Garcia Committed by GitHub

fixes ESP32-C3 WiFiProv and btInUse() (#8243)

parent 083db166
...@@ -16,7 +16,8 @@ ...@@ -16,7 +16,8 @@
#ifdef CONFIG_BT_ENABLED #ifdef CONFIG_BT_ENABLED
bool btInUse(){ return true; } // user may want to change it to free resources
__attribute__((weak)) bool btInUse(){ return true; }
#include "esp_bt.h" #include "esp_bt.h"
......
...@@ -209,9 +209,8 @@ bool verifyRollbackLater() { return false; } ...@@ -209,9 +209,8 @@ bool verifyRollbackLater() { return false; }
#endif #endif
#ifdef CONFIG_BT_ENABLED #ifdef CONFIG_BT_ENABLED
//overwritten in esp32-hal-bt.c //from esp32-hal-bt.c
bool btInUse() __attribute__((weak)); extern bool btInUse();
bool btInUse(){ return false; }
#endif #endif
void initArduino() void initArduino()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment