Skip to content

Commit

Permalink
fix typing of chip_erase from bool -> str
Browse files Browse the repository at this point in the history
  • Loading branch information
NilsIrl committed Dec 17, 2024
1 parent 5166025 commit 3dc1b47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyocd/flash/file_programmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class FileProgrammer(object):
def __init__(self,
session: "Session",
progress: Optional[ProgressCallback] = None,
chip_erase: Optional[bool] = None,
chip_erase: Optional[str] = None,
smart_flash: Optional[bool] = None,
trust_crc: Optional[bool] = None,
keep_unwritten: Optional[bool] = None,
Expand Down
2 changes: 1 addition & 1 deletion pyocd/flash/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class MemoryLoader:
def __init__(self,
session: "Session",
progress: Optional[ProgressCallback] = None,
chip_erase: Optional[bool] = None,
chip_erase: Optional[str] = None,
smart_flash: Optional[bool] = None,
trust_crc: Optional[bool] = None,
keep_unwritten: Optional[bool] = None,
Expand Down

0 comments on commit 3dc1b47

Please sign in to comment.