summaryrefslogtreecommitdiff
path: root/src/flash/ocl/at91sam7x/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/ocl/at91sam7x/main.c')
-rw-r--r--src/flash/ocl/at91sam7x/main.c2
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;
}