From: Zach W. <zw...@us...> - 2009-11-15 04:06:58
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via c2edc7908fc68594761be3bd390aa6bb5335da60 (commit) from ecc659d44da1c8d2291c22be61d2819b55fa7b17 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit c2edc7908fc68594761be3bd390aa6bb5335da60 Author: Krzysztof Dziuba <krz...@ga...> Date: Sat Nov 14 20:59:56 2009 +0100 Fix for md* commands, similar to mw*. diff --git a/src/target/target.c b/src/target/target.c index 6ecf16a..2385d0f 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -2256,7 +2256,8 @@ COMMAND_HANDLER(handle_md_command) return ERROR_COMMAND_SYNTAX_ERROR; unsigned size = 0; - switch (CMD_NAME[2]) { + const char *cmd_name = CMD_NAME; + switch (cmd_name[6]) { case 'w': size = 4; break; case 'h': size = 2; break; case 'b': size = 1; break; ----------------------------------------------------------------------- Summary of changes: src/target/target.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) hooks/post-receive -- Main OpenOCD repository |