Skip to content

Commit

Permalink
family: nRF91: fix unlock exception
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Deubel <[email protected]>
  • Loading branch information
maxd-nordic committed Jul 12, 2023
1 parent 56a299c commit 327e22c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyocd/target/family/target_nRF91.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def check_flash_security(self):
# Do the mass erase.
if not self.mass_erase():
LOG.error("%s: mass erase failed", self.part_number)
raise exceptions.TargetErrors.TargetError("unable to unlock device")
raise exceptions.TargetError("unable to unlock device")
# Target needs to be reset to clear protection status
self.session.probe.reset()
self.pre_connect()
Expand Down

0 comments on commit 327e22c

Please sign in to comment.