From 9f229e029c095feb9e0c833fcbab80aa85756217 Mon Sep 17 00:00:00 2001 From: Kevin Sidwar Date: Tue, 9 May 2023 15:59:43 -0600 Subject: [PATCH] fix: ble provisioning issue --- cores/esp32/esp32-hal-misc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cores/esp32/esp32-hal-misc.c b/cores/esp32/esp32-hal-misc.c index 1a71b0e86f9..60d573136b3 100644 --- a/cores/esp32/esp32-hal-misc.c +++ b/cores/esp32/esp32-hal-misc.c @@ -258,11 +258,11 @@ void initArduino() if(err) { log_e("Failed to initialize NVS! Error: %u", err); } -#ifdef CONFIG_BT_ENABLED - if(!btInUse()){ - esp_bt_controller_mem_release(ESP_BT_MODE_BTDM); - } -#endif +//#ifdef CONFIG_BT_ENABLED +// if(!btInUse()){ +// esp_bt_controller_mem_release(ESP_BT_MODE_BTDM); +// } +//#endif init(); initVariant(); }