diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:38:12 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:38:12 +0000 |
commit | 53d605e12c3765aeedabf2bfe0c5cc338dc95d5a (patch) | |
tree | 574d59fe89c1af06fbc67b38cb2d0a3f9a6ef1d7 /src/flash/ocl/at91sam7x/main.c | |
parent | 5e98c71436569d39ac9fe0fb66910f28c0e531f8 (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@2363 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/ocl/at91sam7x/main.c')
-rw-r--r-- | src/flash/ocl/at91sam7x/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/ocl/at91sam7x/main.c b/src/flash/ocl/at91sam7x/main.c index 2a4d28bb..3d88d91a 100644 --- a/src/flash/ocl/at91sam7x/main.c +++ b/src/flash/ocl/at91sam7x/main.c @@ -53,7 +53,7 @@ void cmd_flash(uint32 cmd) chksum=OCL_CHKS_INIT; for (bi=0; bi<bi_end; bi++) chksum^=buffer[bi]=dcc_rd(); - if (dcc_rd()!=chksum) { + if (dcc_rd() != chksum) { dcc_wr(OCL_CHKS_FAIL); return; } |