]> git.sur5r.net Git - openocd/commitdiff
Fix incorrect comment
authorChristopher Head <chead@zaber.com>
Mon, 26 Feb 2018 22:51:35 +0000 (14:51 -0800)
committerTomas Vanek <vanekt@fbl.cz>
Tue, 27 Feb 2018 06:03:30 +0000 (06:03 +0000)
target_start_algorithm does not download the algorithm. It only starts
it. It expects someone else to have already written the algorithm code
into the proper location before calling it.

Change-Id: I5e04406eed0ebb1c23e550dbf8d9f1204c432603
Signed-off-by: Christopher Head <chead@zaber.com>
Reviewed-on: http://openocd.zylin.com/4435
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/target/target.c

index 055658ea6199819caef683e6943ff552b0926aaa..52376101577cef734a10c7c6ad62a23b1ccdca45 100644 (file)
@@ -808,8 +808,7 @@ done:
 }
 
 /**
- * Downloads a target-specific native code algorithm to the target,
- * executes and leaves it running.
+ * Executes a target-specific native code algorithm and leaves it running.
  *
  * @param target used to run the algorithm
  * @param arch_info target-specific description of the algorithm.