This is an automated email from Gerrit. Ilya Kharin (aksc...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/5411
-- gerrit commit 5413792a077e471bd2b95e56c7519bfd111f8b0a Author: Ilya Kharin <aksc...@gmail.com> Date: Thu Jan 23 02:44:49 2020 +0400 Fix substitution of chip->hwid which is uint32_t Change-Id: I3f76be9c1544d0115521d08b7d74255116ae0db9 Signed-off-by: Ilya Kharin <aksc...@gmail.com> diff --git a/src/flash/nor/nrf5.c b/src/flash/nor/nrf5.c index d923468..617d287 100644 --- a/src/flash/nor/nrf5.c +++ b/src/flash/nor/nrf5.c @@ -609,7 +609,7 @@ static int nrf5_info(struct flash_bank *bank, char *buf, int buf_size) variant, &variant[2]); } else { - res = snprintf(buf, buf_size, "nRF51xxx (HWID 0x%04" PRIx16 ")", + res = snprintf(buf, buf_size, "nRF51xxx (HWID 0x%04" PRIx32 ")", chip->hwid); } if (res <= 0) -- _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel