Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit aad4b33

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

File tree

Expand file treeCollapse file tree

2 files changed

+3
-4
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-4
lines changed

‎cores/esp32/esp32-hal-bt.c

Copy file name to clipboardExpand all lines: cores/esp32/esp32-hal-bt.c
+1-2Lines changed: 1 addition & 2 deletions
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

Copy file name to clipboardExpand all lines: tools/partitions/default.csv
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.