This is an automated email from Gerrit.

Antonio Borneo ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/6060

-- gerrit

commit a249c8d22642d3dde374a3956e19d314cac3a64b
Author: Antonio Borneo <[email protected]>
Date:   Sat Feb 13 14:40:18 2021 +0100

    jtag/nulink: add a space after PRIx32
    
    Missing the space cause the hex value to be printed together with
    the following field.
    
    Add a space after PRIx32.
    
    Change-Id: I95824a9a8b8c0ad911d6c31f732d926cb3e0c068
    Signed-off-by: Antonio Borneo <[email protected]>

diff --git a/src/jtag/drivers/nulink_usb.c b/src/jtag/drivers/nulink_usb.c
index 00738ee..48a5c79 100644
--- a/src/jtag/drivers/nulink_usb.c
+++ b/src/jtag/drivers/nulink_usb.c
@@ -253,7 +253,7 @@ static int nulink_usb_write_debug_reg(void *handle, 
uint32_t addr, uint32_t val)
 {
        struct nulink_usb_handle_s *h = handle;
 
-       LOG_DEBUG("nulink_usb_write_debug_reg 0x%08" PRIX32 "0x%08" PRIX32, 
addr, val);
+       LOG_DEBUG("nulink_usb_write_debug_reg 0x%08" PRIX32 " 0x%08" PRIX32, 
addr, val);
 
        nulink_usb_init_buffer(handle, 8 + 12 * 1);
        /* set command ID */
@@ -503,7 +503,7 @@ static int nulink_usb_read_mem8(void *handle, uint32_t 
addr, uint16_t len,
                aligned_addr = aligned_addr * 4;
                offset = addr - aligned_addr;
                LOG_DEBUG("nulink_usb_read_mem8: unaligned address addr 0x%08" 
PRIx32
-                               "/aligned addr 0x%08" PRIx32 "offset %" PRIu32,
+                               "/aligned addr 0x%08" PRIx32 " offset %" PRIu32,
                                addr, aligned_addr, offset);
 
                addr = aligned_addr;

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to