diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2018-04-15 00:43:46 +0200 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2018-05-08 15:21:49 -0700 |
commit | ac9dbc758451a442af6fc537be2ef43c85b01dbe (patch) | |
tree | de312e83e613e1289c756cd09852f7df3ed76cf6 /src | |
parent | 3955c85a7af72d2141bfc794b170ee750bc1ad11 (diff) | |
download | riscv-openocd-ac9dbc758451a442af6fc537be2ef43c85b01dbe.zip riscv-openocd-ac9dbc758451a442af6fc537be2ef43c85b01dbe.tar.gz riscv-openocd-ac9dbc758451a442af6fc537be2ef43c85b01dbe.tar.bz2 |
jtag: adapter: fix indentation in handle_interface_command
Minor fix, no code change, just align it to the block it belongs to.
Change-Id: I4c3b0d0bd00a55d5109d3723e5c4bfb2fc72e366
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/4492
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/jtag/adapter.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/jtag/adapter.c b/src/jtag/adapter.c index 5953de7..2035788 100644 --- a/src/jtag/adapter.c +++ b/src/jtag/adapter.c @@ -149,14 +149,14 @@ COMMAND_HANDLER(handle_interface_command) jtag_interface = jtag_interfaces[i]; - /* LEGACY SUPPORT ... adapter drivers must declare what - * transports they allow. Until they all do so, assume - * the legacy drivers are JTAG-only - */ - if (!jtag_interface->transports) - LOG_WARNING("Adapter driver '%s' did not declare " - "which transports it allows; assuming " - "legacy JTAG-only", jtag_interface->name); + /* LEGACY SUPPORT ... adapter drivers must declare what + * transports they allow. Until they all do so, assume + * the legacy drivers are JTAG-only + */ + if (!jtag_interface->transports) + LOG_WARNING("Adapter driver '%s' did not declare " + "which transports it allows; assuming " + "legacy JTAG-only", jtag_interface->name); retval = allow_transports(CMD_CTX, jtag_interface->transports ? jtag_interface->transports : jtag_only); if (ERROR_OK != retval) |