Skip to content

Commit

Permalink
ESP32: Update to ESP-IDF 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rojer committed Dec 27, 2020
1 parent 385648d commit df19c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/esp32/esp32_fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const esp_partition_t *esp32_find_fs_for_app_slot(int slot) {
}

int esp32_get_boot_slot() {
const esp_partition_t *p = esp_ota_get_boot_partition();
const esp_partition_t *p = esp_ota_get_running_partition();
if (p == NULL) return -1;
return SUBTYPE_TO_SLOT(p->subtype);
}
Expand Down

0 comments on commit df19c4e

Please sign in to comment.