forked from auracaster/openocd
- 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:
@@ -300,7 +300,7 @@ static int str9x_erase(struct flash_bank_s *bank, int first, int last)
|
||||
}
|
||||
|
||||
int timeout;
|
||||
for (timeout = 0; timeout<1000; timeout++) {
|
||||
for (timeout = 0; timeout < 1000; timeout++) {
|
||||
if ((retval = target_read_u8(target, adr, &status)) != ERROR_OK)
|
||||
{
|
||||
return retval;
|
||||
@@ -575,7 +575,7 @@ static int str9x_write(struct flash_bank_s *bank,
|
||||
target_write_u16(target, bank_adr, 0x70);
|
||||
|
||||
int timeout;
|
||||
for (timeout = 0; timeout<1000; timeout++)
|
||||
for (timeout = 0; timeout < 1000; timeout++)
|
||||
{
|
||||
target_read_u8(target, bank_adr, &status);
|
||||
if ( status & 0x80 )
|
||||
@@ -624,7 +624,7 @@ static int str9x_write(struct flash_bank_s *bank,
|
||||
target_write_u16(target, bank_adr, 0x70);
|
||||
|
||||
int timeout;
|
||||
for (timeout = 0; timeout<1000; timeout++)
|
||||
for (timeout = 0; timeout < 1000; timeout++)
|
||||
{
|
||||
target_read_u8(target, bank_adr, &status);
|
||||
if ( status & 0x80 )
|
||||
|
||||
Reference in New Issue
Block a user