diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:41:13 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:41:13 +0000 |
commit | aea6815462d3302f7f8b6576f59320d5f5985642 (patch) | |
tree | 24db5c404a4568beabe33487235dc2befd1e0421 /src/flash/stellaris.c | |
parent | 0e2c2fe1d1eec5482078147d551215a58604cc3a (diff) |
- Fixes '<<' whitespace
- 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@2370 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/stellaris.c')
-rw-r--r-- | src/flash/stellaris.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/stellaris.c b/src/flash/stellaris.c index 8f5f03a0..09d7f0dd 100644 --- a/src/flash/stellaris.c +++ b/src/flash/stellaris.c @@ -665,9 +665,9 @@ static int stellaris_protect(struct flash_bank_s *bank, int set, int first, int for (lockregion = first; lockregion <= last; lockregion++) { if (set) - fmppe &= ~(1<<lockregion); + fmppe &= ~(1 << lockregion); else - fmppe |= (1<<lockregion); + fmppe |= (1 << lockregion); } /* Clear and disable flash programming interrupts */ |