aboutsummaryrefslogtreecommitdiff
path: root/sw/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'sw/hash.c')
-rw-r--r--sw/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/hash.c b/sw/hash.c
index ae34ded..8b3bac2 100644
--- a/sw/hash.c
+++ b/sw/hash.c
@@ -109,7 +109,7 @@ static int transmit(off_t offset, uint8_t *block, int blen, int mode, int first)
if (tc_write(offset, block, blen) != 0)
return 1;
- ctrl_cmd[3] = (first ? CTRL_INIT_CMD : CTRL_NEXT_CMD) | mode;
+ ctrl_cmd[3] = (first ? CTRL_INIT : CTRL_NEXT) | mode;
return
tc_write(base + ADDR_CTRL, ctrl_cmd, 4) ||