diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:40:33 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:40:33 +0000 |
commit | 6319ea33f7369823043eaefdb72b7463e760be27 (patch) | |
tree | d91702e6b2722e9a9cedb0a92bea31491520ed65 /src/flash | |
parent | 4ce93ac479c29210c4b472a16733bed2537c35f9 (diff) | |
download | openocd_libswd-6319ea33f7369823043eaefdb72b7463e760be27.tar.gz openocd_libswd-6319ea33f7369823043eaefdb72b7463e760be27.tar.bz2 openocd_libswd-6319ea33f7369823043eaefdb72b7463e760be27.tar.xz openocd_libswd-6319ea33f7369823043eaefdb72b7463e760be27.zip |
- Fixes '<=' whitespace
- Replace '\(\w\)\(<=\)\(\w\)' with '\1 \2 \3'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2368 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/at91sam7.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/at91sam7.c b/src/flash/at91sam7.c index 259f0121..bb059c06 100644 --- a/src/flash/at91sam7.c +++ b/src/flash/at91sam7.c @@ -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; |