From 768e57f28582b57974fe77b02b2d9232c79a6172 Mon Sep 17 00:00:00 2001 From: me-no-dev Date: Sat, 6 May 2017 18:40:23 +0300 Subject: [PATCH] Fix BT enabled check --- cores/esp32/esp32-hal-bt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cores/esp32/esp32-hal-bt.c b/cores/esp32/esp32-hal-bt.c index badb510f..0455a171 100644 --- a/cores/esp32/esp32-hal-bt.c +++ b/cores/esp32/esp32-hal-bt.c @@ -11,10 +11,11 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -#if CONFIG_BT_ENABLED #include "esp32-hal-bt.h" +#if CONFIG_BT_ENABLED + #include "bt.h" #include "esp_bt_defs.h" #include "esp_bt_main.h"