summaryrefslogtreecommitdiff
path: root/src/jtag/tcl.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:36:56 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:36:56 +0000
commit9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b (patch)
tree454f5975d6d44abec57d19aa50f11e773af2273f /src/jtag/tcl.c
parent50c086ffb94f199c088f4cc52b7887b668dddf00 (diff)
downloadopenocd_libswd-9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b.tar.gz
openocd_libswd-9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b.tar.bz2
openocd_libswd-9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b.tar.xz
openocd_libswd-9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b.zip
- Replace 'switch(' with 'switch ('.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2359 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/tcl.c')
-rw-r--r--src/jtag/tcl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jtag/tcl.c b/src/jtag/tcl.c
index 75153636..c0498abf 100644
--- a/src/jtag/tcl.c
+++ b/src/jtag/tcl.c
@@ -374,7 +374,7 @@ static int jim_newtap_cmd( Jim_GetOptInfo *goi )
return e;
}
LOG_DEBUG("Processing option: %s", n->name );
- switch( n->value ){
+ switch ( n->value ){
case NTAP_OPT_ENABLED:
pTap->disabled_after_reset = false;
break;
@@ -414,7 +414,7 @@ static int jim_newtap_cmd( Jim_GetOptInfo *goi )
Jim_SetResult_sprintf( goi->interp, "option: %s bad parameter", n->name );
return e;
}
- switch(n->value){
+ switch (n->value){
case NTAP_OPT_IRLEN:
if (w > (jim_wide) (8 * sizeof(pTap->ir_capture_value)))
LOG_WARNING("huge IR length %d", (int) w);
@@ -440,7 +440,7 @@ static int jim_newtap_cmd( Jim_GetOptInfo *goi )
reqbits &= (~(NTREQ_IRCAPTURE));
break;
}
- } /* switch(n->value) */
+ } /* switch (n->value) */
} /* while ( goi->argc ) */
/* default is enabled-after-reset */
@@ -540,7 +540,7 @@ static int jim_jtag_command( Jim_Interp *interp, int argc, Jim_Obj *const *argv
return e;
}
Jim_SetEmptyResult( goi.interp );
- switch( n->value ){
+ switch ( n->value ){
case JTAG_CMD_INTERFACE:
/* return the name of the interface */
/* TCL code might need to know the exact type... */