Skip to content

Commit b13ed2f

Browse files
authored
Merge pull request #363 from espressif/fix/esptool-5-warnings
fix(esp): deprecate warnings raised by esptool 5
2 parents 4ddb1a8 + 670b993 commit b13ed2f

File tree

1 file changed

+1
-1
lines changed
  • pytest-embedded-idf/pytest_embedded_idf

1 file changed

+1
-1
lines changed

pytest-embedded-idf/pytest_embedded_idf/serial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def flash(self, app: Optional[IdfApp] = None) -> None:
156156
elif v:
157157
_args.append(f'--{k}')
158158
else:
159-
_args.append(f'--{k}')
159+
_args.append(f'--{k.replace("_", "-")}')
160160
if k == 'after':
161161
_args.append('hard_reset')
162162
else:

0 commit comments

Comments
 (0)