Skip to content

Commit

Permalink
fix(espefuse): Use stub class if stub flasher is running
Browse files Browse the repository at this point in the history
Closes #982
  • Loading branch information
radimkarnis committed Jun 7, 2024
1 parent d4d2153 commit 67d66a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions espefuse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ def get_esp(
)
if not skip_connect:
esp.connect(connect_mode)
if esp.sync_stub_detected:
esp = esp.STUB_CLASS(esp)
return esp


Expand Down

0 comments on commit 67d66a0

Please sign in to comment.