From 3c65f323cd18ff840f86cde7a906b00bb316cd5e Mon Sep 17 00:00:00 2001 From: David Walters Date: Fri, 15 Sep 2017 15:49:08 +0100 Subject: [PATCH] Edited get_interface_version info for clarity --- tools/detect_targets.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/detect_targets.py b/tools/detect_targets.py index bdccab1f3f..ad90f5b078 100644 --- a/tools/detect_targets.py +++ b/tools/detect_targets.py @@ -102,8 +102,12 @@ def main(): def get_interface_version(mount_point): """ Function returns interface version from the target mounted on the specified mount point - Example of mount_point: - mount_point = mut['disk'] + + mount_point can be acquired via the following: + muts = get_autodetected_MUTS_list() + for mut in muts.values(): + mount_point = mut['disk'] + @param mount_point Name of disk where platform is connected to host machine. """ if get_module_avail('mbed_lstools'):