- Fixes '[<>]' whitespace
- Replace ')\([<>]\)(' with ') \1 ('.
- Replace ')\([<>]\)\(\w\)' with ') \1 \2'.
- Replace '\(\w\)\([<>]\)(' with '\1 \2 ('.
- Replace '\(\w\)\([<>]\)\(\w\)' with '\1 \2 \3'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2375 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -791,7 +791,7 @@ static int handle_flash_fill_command(struct command_context_s *cmd_ctx, char *cm
|
||||
|
||||
duration_start_measure(&duration);
|
||||
|
||||
for (wrote = 0; wrote<(count*wordsize); wrote += cur_size)
|
||||
for (wrote = 0; wrote < (count*wordsize); wrote += cur_size)
|
||||
{
|
||||
cur_size = MIN( (count*wordsize - wrote), sizeof(chunk) );
|
||||
flash_bank_t *bank;
|
||||
@@ -809,7 +809,7 @@ static int handle_flash_fill_command(struct command_context_s *cmd_ctx, char *cm
|
||||
return err;
|
||||
|
||||
unsigned i;
|
||||
for (i = 0; i<cur_size; i++)
|
||||
for (i = 0; i < cur_size; i++)
|
||||
{
|
||||
if (readback[i]!=chunk[i])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user