Skip to content

Commit

Permalink
feat: Support hard_reset without stub
Browse files Browse the repository at this point in the history
hard_reset() used the default arguments of the decorator use_esptool(),
due to which stub is required for performing a hard_reset().
  • Loading branch information
Harshal5 committed Sep 5, 2023
1 parent ea7157f commit 84bea04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def wrapper(self, *args, **kwargs):
def _start(self):
self.hard_reset()

@use_esptool()
@use_esptool(hard_reset_after=True, no_stub=True)
def hard_reset(self):
"""Hard reset your espressif device"""
pass
Expand Down

0 comments on commit 84bea04

Please sign in to comment.