From 52dcf46e61226a8dfb74a9372d610b3d7007245a Mon Sep 17 00:00:00 2001 From: dragonmux Date: Thu, 16 Jun 2022 12:59:25 -0400 Subject: [PATCH] command: Done a little cleanup of the formatting and layout --- src/command.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/command.c b/src/command.c index ffa8d00..edfd3dc 100644 --- a/src/command.c +++ b/src/command.c @@ -200,7 +200,7 @@ static bool cmd_jtag_scan(target *t, int argc, char **argv) int devs = -1; volatile struct exception e; - TRY_CATCH (e, EXCEPTION_ALL) { + TRY_CATCH(e, EXCEPTION_ALL) { #if PC_HOSTED == 1 devs = platform_jtag_scan(argc > 1 ? irlens : NULL); #else @@ -221,6 +221,7 @@ static bool cmd_jtag_scan(target *t, int argc, char **argv) gdb_out("JTAG device scan failed!\n"); return false; } + cmd_targets(NULL, 0, NULL); morse(NULL, false); return true; @@ -240,7 +241,7 @@ bool cmd_swdp_scan(target *t, int argc, char **argv) int devs = -1; volatile struct exception e; - TRY_CATCH (e, EXCEPTION_ALL) { + TRY_CATCH(e, EXCEPTION_ALL) { #if PC_HOSTED == 1 devs = platform_adiv5_swdp_scan(targetid); #else