- remove target specific variant and use target->variant member
- fix build warning in cortex_m3 - code cleanup - remove trailing lf and convert c++ comments git-svn-id: svn://svn.berlios.de/openocd/trunk@1238 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -466,7 +466,6 @@ int handle_flash_erase_check_command(struct command_context_s *cmd_ctx, char *cm
|
||||
j, p->sectors[j].offset, p->sectors[j].size, p->sectors[j].size>>10,
|
||||
erase_state);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return ERROR_OK;
|
||||
@@ -658,7 +657,6 @@ int handle_flash_write_image_command(struct command_context_s *cmd_ctx, char *cm
|
||||
command_print(cmd_ctx, "auto erase enabled");
|
||||
}
|
||||
|
||||
|
||||
if (argc < 1)
|
||||
{
|
||||
return ERROR_COMMAND_SYNTAX_ERROR;
|
||||
@@ -743,7 +741,6 @@ int handle_flash_fill_command(struct command_context_s *cmd_ctx, char *cmd, char
|
||||
if(count == 0)
|
||||
return ERROR_OK;
|
||||
|
||||
|
||||
switch(cmd[4])
|
||||
{
|
||||
case 'w':
|
||||
@@ -804,7 +801,6 @@ int handle_flash_fill_command(struct command_context_s *cmd_ctx, char *cmd, char
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
||||
if(err == ERROR_OK)
|
||||
{
|
||||
float speed;
|
||||
|
||||
Reference in New Issue
Block a user