This is an automated email from Gerrit.

"Antonio Borneo <borneo.anto...@gmail.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8035

-- gerrit

commit cf9d66286b8842d8de7d044ce1d18d6a2085f8bc
Author: Antonio Borneo <antonio.bor...@foss.st.com>
Date:   Sun Aug 6 18:30:20 2023 +0200

    hla: assign bool type with a booleans value
    
    The type of struct jtag_tap::hasidcode is bool.
    
    Assign it using a boolean value.
    
    Change-Id: I377598917194644de91f4a0947e901c9d480174d
    Signed-off-by: Antonio Borneo <antonio.bor...@foss.st.com>

diff --git a/src/jtag/hla/hla_interface.c b/src/jtag/hla/hla_interface.c
index f4bfeb1a14..edbb9d6e17 100644
--- a/src/jtag/hla/hla_interface.c
+++ b/src/jtag/hla/hla_interface.c
@@ -100,7 +100,7 @@ int hl_interface_init_target(struct target *t)
        }
 
        t->tap->priv = &hl_if;
-       t->tap->hasidcode = 1;
+       t->tap->hasidcode = true;
 
        return ERROR_OK;
 }

-- 

Reply via email to