File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ menu "Arduino Configuration"
3
3
config ENABLE_ARDUINO_DEPENDS
4
4
bool
5
5
select LWIP_SO_RCVBUF
6
- select BT_ENABLED
7
6
select ETHERNET
8
7
select WIFI_ENABLED
9
8
select ESP32_PHY_CALIBRATION_AND_DATA_STORAGE
Original file line number Diff line number Diff line change 11
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
+ #if CONFIG_BT_ENABLED
14
15
15
16
#include "esp32-hal-bt.h"
16
17
@@ -62,5 +63,5 @@ bool btStop(){
62
63
return false;
63
64
}
64
65
65
-
66
+ #endif
66
67
Original file line number Diff line number Diff line change 17
17
18
18
#include "esp32-hal.h"
19
19
20
+ #if CONFIG_BT_ENABLED
21
+
20
22
#ifdef __cplusplus
21
23
extern "C" {
22
24
#endif
@@ -29,4 +31,6 @@ bool btStop();
29
31
}
30
32
#endif
31
33
34
+ #endif
35
+
32
36
#endif /* _ESP32_ESP32_HAL_BT_H_ */
You can’t perform that action at this time.
0 commit comments