Skip to content

Commit 1145aec

Browse files
authored
Fix error: simple_ble_start enable controller failed 259
1 parent 6c04a93 commit 1145aec

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: cores/esp32/esp32-hal-misc.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -305,11 +305,11 @@ void initArduino() {
305305
if (err) {
306306
log_e("Failed to initialize NVS! Error: %u", err);
307307
}
308-
#if defined(CONFIG_BT_ENABLED) && SOC_BT_SUPPORTED
309-
if (!btInUse()) {
310-
esp_bt_controller_mem_release(ESP_BT_MODE_BTDM);
311-
}
312-
#endif
308+
//#if defined(CONFIG_BT_ENABLED) && SOC_BT_SUPPORTED
309+
// if (!btInUse()) {
310+
// esp_bt_controller_mem_release(ESP_BT_MODE_BTDM);
311+
// }
312+
//#endif
313313
init();
314314
initVariant();
315315
}

0 commit comments

Comments
 (0)