- Fixes '<=' whitespace
- Replace '\(\w\)\(<=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2368 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -916,7 +916,7 @@ static int at91sam7_erase(struct flash_bank_s *bank, int first, int last)
|
||||
}
|
||||
|
||||
/* mark erased sectors */
|
||||
for (sec=first; sec<=last; sec++)
|
||||
for (sec=first; sec <= last; sec++)
|
||||
{
|
||||
bank->sectors[sec].is_erased = 1;
|
||||
}
|
||||
@@ -952,7 +952,7 @@ static int at91sam7_protect(struct flash_bank_s *bank, int set, int first, int l
|
||||
at91sam7_read_clock_info(bank);
|
||||
at91sam7_set_flash_mode(bank, FMR_TIMING_NVBITS);
|
||||
|
||||
for (sector=first; sector<=last; sector++)
|
||||
for (sector=first; sector <= last; sector++)
|
||||
{
|
||||
if (set)
|
||||
cmd = SLB;
|
||||
|
||||
Reference in New Issue
Block a user