Skip to content

Commit

Permalink
Fix esp8266 flashing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 committed Dec 17, 2023
1 parent 16655ba commit 1bf27d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp_flasher/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def configure_write_flash_args(
pad_to_size = ""
spi_connection = ""

if not flag_factory: # No factory image
if (isinstance(info, ESP32ChipInfo)) and not flag_factory: # esp32 and no factory image
uwd = os.path.expanduser("~")
esp_flasher_ver = "ESP_Flasher_" + __version__
bootloaderstring = "bootloader_" + flash_mode + "_" + flash_freq + ".elf"
Expand Down

0 comments on commit 1bf27d0

Please sign in to comment.