summaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/swd_tcl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/swd_tcl.c b/src/transport/swd_tcl.c
index 9fdc4d08..d75ad740 100644
--- a/src/transport/swd_tcl.c
+++ b/src/transport/swd_tcl.c
@@ -43,6 +43,7 @@
//we need to use this until we get rid of global pointers
extern struct jtag_interface *jtag_interface;
+
COMMAND_HANDLER(handle_swd_loglevel)
{
int loglevel;
@@ -87,7 +88,7 @@ static const struct command_registration swd_subcommand_handlers[] = {
*
* REVISIT can we verify "just one SWD DAP" here/early?
*/
- .name = "newdap",
+ .name = "newtap",
.jim_handler = jim_jtag_newtap,
.mode = COMMAND_CONFIG,
.help = "declare a new SWD DAP"