Commit 9faa63f1 authored by Johny Mattsson's avatar Johny Mattsson
Browse files

bthci: fixed initialisation (#1928)

parent c69b3b31
......@@ -332,6 +332,7 @@ static int lbthci_init (lua_State *L)
esp_bt_controller_config_t bt_cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
esp_bt_controller_init (&bt_cfg);
esp_bt_controller_enable (ESP_BT_MODE_BTDM);
esp_vhci_host_register_callback (&bthci_callbacks);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment