aboutsummaryrefslogtreecommitdiff
path: root/sw/hash.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2015-05-05 16:15:10 -0400
committerPaul Selkirk <paul@psgd.org>2015-05-05 16:15:10 -0400
commit05b139f4407890a8671bc3f40c48e4d54e3a83c5 (patch)
tree1d1e9ab6ed090baaf0b8bd71c33fd0b67aff0f23 /sw/hash.c
parent5311cc678dc82222146a384080d5f2bc95cb1eb6 (diff)
Rename bitmask symbols.
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) ||