Skip to content

Commit aad4b33

Browse files
committed
Add default config for BT init and offsets for partition table
1 parent 57028ad commit aad4b33

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

cores/esp32/esp32-hal-bt.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ bool btStarted(){
2323
}
2424

2525
bool btStart(){
26-
esp_bt_controller_config_t cfg;
27-
memset(&cfg, 0, sizeof(esp_bt_controller_config_t));
26+
esp_bt_controller_config_t cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
2827
if(esp_bt_controller_get_status() == ESP_BT_CONTROLLER_STATUS_ENABLED){
2928
return true;
3029
}

tools/partitions/default.csv

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
nvs, data, nvs, 0x9000, 0x5000
33
otadata, data, ota, 0xe000, 0x2000
44
app0, app, ota_0, 0x10000, 1M,
5-
app1, app, ota_1, , 1M,
6-
spiffs, data, spiffs, , 0x1F0000,
5+
app1, app, ota_1, 0x110000,1M,
6+
spiffs, data, spiffs, 0x210000,0x1F0000,

0 commit comments

Comments
 (0)