diff --git a/cores/esp32/esp32-hal-bt.c b/cores/esp32/esp32-hal-bt.c index 0455a171..0d19e5d5 100644 --- a/cores/esp32/esp32-hal-bt.c +++ b/cores/esp32/esp32-hal-bt.c @@ -64,5 +64,20 @@ bool btStop(){ return false; } +#else +bool btStarted() +{ + return false; +} + +bool btStart() +{ + return false; +} + +bool btStop() +{ + return false; +} #endif diff --git a/cores/esp32/esp32-hal-bt.h b/cores/esp32/esp32-hal-bt.h index 23bd9728..56222da3 100644 --- a/cores/esp32/esp32-hal-bt.h +++ b/cores/esp32/esp32-hal-bt.h @@ -17,8 +17,6 @@ #include "esp32-hal.h" -#if CONFIG_BT_ENABLED - #ifdef __cplusplus extern "C" { #endif @@ -31,6 +29,4 @@ bool btStop(); } #endif -#endif - #endif /* _ESP32_ESP32_HAL_BT_H_ */