openocd/src/jtag/hla
Antonio Borneo 69190094ad hla: improve readability of struct hl_interface_s initialization
The initialization is barely readable, while actually only few
fields are set with value nor zero nor NULL.

Rewrite the initialization using C99 struct designations.

Change-Id: I4d288e6536ebe7110a184db6540223fc67361ec3
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6636
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2021-10-25 16:13:03 +00:00
..
hla_interface.c hla: improve readability of struct hl_interface_s initialization 2021-10-25 16:13:03 +00:00
hla_interface.h hla: Increase HLA_MAX_USB_IDS 2021-09-18 15:26:57 +00:00
hla_layout.c openocd: fix simple cases of NULL comparison 2021-07-24 10:37:49 +01:00
hla_layout.h hla: API: specify that read_reg/write_reg use regsel as parameter 2020-11-15 21:07:14 +00:00
hla_tcl.c openocd: fix simple cases of Yoda condition 2021-07-20 14:55:24 +01:00
hla_tcl.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
hla_transport.c help text: remove trailing space 2021-05-29 21:34:55 +01:00
hla_transport.h swim: add new transport 2020-05-24 21:32:05 +01:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00:00