diff --git a/cores/esp32/esp32-hal-bt.c b/cores/esp32/esp32-hal-bt.c index 0bed8e80..35899c31 100644 --- a/cores/esp32/esp32-hal-bt.c +++ b/cores/esp32/esp32-hal-bt.c @@ -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; } diff --git a/tools/partitions/default.csv b/tools/partitions/default.csv index c6e5dd7e..253fb480 100644 --- a/tools/partitions/default.csv +++ b/tools/partitions/default.csv @@ -2,5 +2,5 @@ nvs, data, nvs, 0x9000, 0x5000 otadata, data, ota, 0xe000, 0x2000 app0, app, ota_0, 0x10000, 1M, -app1, app, ota_1, , 1M, -spiffs, data, spiffs, , 0x1F0000, +app1, app, ota_1, 0x110000,1M, +spiffs, data, spiffs, 0x210000,0x1F0000,