Add default config for BT init and offsets for partition table

This commit is contained in:
me-no-dev
2017-04-22 16:33:07 +03:00
parent 57028ad65e
commit aad4b336d6
2 changed files with 3 additions and 4 deletions

View File

@ -23,8 +23,7 @@ bool btStarted(){
}
bool btStart(){
esp_bt_controller_config_t cfg;
memset(&cfg, 0, sizeof(esp_bt_controller_config_t));
esp_bt_controller_config_t cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
if(esp_bt_controller_get_status() == ESP_BT_CONTROLLER_STATUS_ENABLED){
return true;
}