summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-24 09:37:18 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-24 09:37:18 +0000
commit2a4223dc6836a66d7edd0ccab940901ad33bcc00 (patch)
tree7a1de1695bb24e14c37d80912a27c9286df42452
parenteee3b0c2a8b7f65cd291e77a71c2d18602da9ca9 (diff)
downloadopenocd+libswd-2a4223dc6836a66d7edd0ccab940901ad33bcc00.tar.gz
openocd+libswd-2a4223dc6836a66d7edd0ccab940901ad33bcc00.tar.bz2
openocd+libswd-2a4223dc6836a66d7edd0ccab940901ad33bcc00.tar.xz
openocd+libswd-2a4223dc6836a66d7edd0ccab940901ad33bcc00.zip
- Replace 'switch(' with 'switch ('.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2388 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--src/flash/at91sam3.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/flash/at91sam3.c b/src/flash/at91sam3.c
index 0e052e50..9fe416e1 100644
--- a/src/flash/at91sam3.c
+++ b/src/flash/at91sam3.c
@@ -1171,7 +1171,7 @@ sam3_explain_ckgr_mor( struct sam3_chip *pChip )
pChip->cfg.rc_freq = 0;
if ( rcen ){
- switch( v ){
+ switch ( v ){
default:
pChip->cfg.rc_freq = 0;
case 0:
@@ -1291,7 +1291,7 @@ sam3_explain_mckr( struct sam3_chip *pChip )
const char *cp;
css = sam3_reg_fieldname( pChip, "CSS", pChip->cfg.PMC_MCKR, 0, 2 );
- switch( css & 3 ){
+ switch ( css & 3 ){
case 0:
fin = pChip->cfg.slow_freq;
cp = "slowclk";
@@ -1319,7 +1319,7 @@ sam3_explain_mckr( struct sam3_chip *pChip )
cp,
_tomhz( fin ) );
pres = sam3_reg_fieldname(pChip, "PRES", pChip->cfg.PMC_MCKR, 4, 3 );
- switch( pres & 0x07 ){
+ switch ( pres & 0x07 ){
case 0:
pdiv = 1;
cp = "selected clock";
@@ -1654,7 +1654,7 @@ sam3_flash_bank_command(struct command_context_s *cmd_ctx,
}
}
- switch( bank->base ){
+ switch ( bank->base ){
default:
LOG_ERROR("Address 0x%08x invalid bank address (try 0x%08x or 0x%08x)",
((unsigned int)(bank->base)),
@@ -2329,7 +2329,7 @@ sam3_handle_gpnvm_command( struct command_context_s *cmd_ctx, char *cmd, char **
}
- switch( argc ){
+ switch ( argc ){
default:
command_print(cmd_ctx,"Too many parameters\n");
return ERROR_COMMAND_SYNTAX_ERROR;
@@ -2408,7 +2408,7 @@ sam3_handle_slowclk_command( struct command_context_s *cmd_ctx, char *cmd, char
}
- switch( argc ){
+ switch ( argc ){
case 0:
// show
break;