Skip to content
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.

Flash Autodetect and Bootloader patching #23

Merged
merged 9 commits into from
Jun 22, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
code clean up
  • Loading branch information
conradopoole authored Jun 22, 2021
commit 916613d2a9f2c2c137c8ca30dd1be6fb9ee0a014
5 changes: 1 addition & 4 deletions src/esp_loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -856,10 +856,7 @@ export class ESPLoader extends EventTarget {
}

getFlashSizes() {
if (
this.chipFamily == CHIP_FAMILY_ESP32 ||
this._parent?.chipFamily == CHIP_FAMILY_ESP32
) {
if (this.getChipFamily() == CHIP_FAMILY_ESP32 ) {
return ESP32_FLASH_SIZES;
}
return FLASH_SIZES;
Expand Down