Skip to content

Commit 28e548b

Browse files
committed
Fix reference to board.getTargetType in pyocd copy plugin.
1 parent b989b62 commit 28e548b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mbed_os_tools/test/host_tests_plugins/module_copy_pyocd.py

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

0 commit comments

Comments
 (0)