From: OpenOCD-Gerrit <ope...@us...> - 2020-02-23 12:27:34
|
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 f1f1f3fe1f2c2ba604205e7163d01b3481e4e96b (commit) from ee56c502607760deb1b44b4ab06b1cb3a59029fe (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 f1f1f3fe1f2c2ba604205e7163d01b3481e4e96b Author: Christopher Head <ch...@za...> Date: Mon Jan 27 13:30:04 2020 -0800 flash/nor/stm32h7x: fix incorrect array indexing Change-Id: Iec2246df284953d1442dfefdad8e70041690dfe2 Signed-off-by: Christopher Head <ch...@za...> Reviewed-on: http://openocd.zylin.com/5417 Tested-by: jenkins Reviewed-by: Tarek BOCHKATI <tar...@gm...> Reviewed-by: Andreas Fritiofson <and...@gm...> diff --git a/src/flash/nor/stm32h7x.c b/src/flash/nor/stm32h7x.c index 008572915..7ce369be3 100644 --- a/src/flash/nor/stm32h7x.c +++ b/src/flash/nor/stm32h7x.c @@ -1057,7 +1057,7 @@ COMMAND_HANDLER(stm32x_handle_option_write_command) COMMAND_PARSE_NUMBER(u32, CMD_ARGV[1], reg_offset); COMMAND_PARSE_NUMBER(u32, CMD_ARGV[2], value); if (CMD_ARGC > 3) - COMMAND_PARSE_NUMBER(u32, CMD_ARGV[2], mask); + COMMAND_PARSE_NUMBER(u32, CMD_ARGV[3], mask); return stm32x_modify_option(bank, reg_offset, value, mask); } ----------------------------------------------------------------------- Summary of changes: src/flash/nor/stm32h7x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Main OpenOCD repository |