Skip to content

Commit 5335908

Browse files
committed
Fix reference to board.getTargetType in pyocd copy plugin.
1 parent 0bbd1c3 commit 5335908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mbed_host_tests/host_tests_plugins/module_copy_pyocd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def execute(self, capability, *args, **kwargs):
6767
# Eventually pyOCD will know default clock speed
6868
# per target
6969
test_clock = 10000000
70-
target_type = board.getTargetType()
70+
target_type = session.board.target_type
7171
if target_type == "nrf51":
7272
# Override clock since 10MHz is too fast
7373
test_clock = 1000000

0 commit comments

Comments
 (0)