Skip to content

Commit

Permalink
Merge pull request #235 from flit/bugfix/pyocd
Browse files Browse the repository at this point in the history
Fix old name reference in pyocd copy plugin
  • Loading branch information
bridadan authored Dec 12, 2018
2 parents 0bbd1c3 + 5335908 commit 37ba298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mbed_host_tests/host_tests_plugins/module_copy_pyocd.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def execute(self, capability, *args, **kwargs):
# Eventually pyOCD will know default clock speed
# per target
test_clock = 10000000
target_type = board.getTargetType()
target_type = session.board.target_type
if target_type == "nrf51":
# Override clock since 10MHz is too fast
test_clock = 1000000
Expand Down

0 comments on commit 37ba298

Please sign in to comment.