From 2a4223dc6836a66d7edd0ccab940901ad33bcc00 Mon Sep 17 00:00:00 2001 From: zwelch Date: Wed, 24 Jun 2009 09:37:18 +0000 Subject: - Replace 'switch(' with 'switch ('. git-svn-id: svn://svn.berlios.de/openocd/trunk@2388 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/flash/at91sam3.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/flash') diff --git a/src/flash/at91sam3.c b/src/flash/at91sam3.c index 0e052e5..9fe416e 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; -- cgit v1.1