diff options
author | Paul Selkirk <paul@psgd.org> | 2015-05-05 16:15:10 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2015-05-05 16:15:10 -0400 |
commit | 05b139f4407890a8671bc3f40c48e4d54e3a83c5 (patch) | |
tree | 1d1e9ab6ed090baaf0b8bd71c33fd0b67aff0f23 /sw/tc_eim.c | |
parent | 5311cc678dc82222146a384080d5f2bc95cb1eb6 (diff) |
Rename bitmask symbols.
Diffstat (limited to 'sw/tc_eim.c')
-rw-r--r-- | sw/tc_eim.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/tc_eim.c b/sw/tc_eim.c index 0461f15..c812478 100644 --- a/sw/tc_eim.c +++ b/sw/tc_eim.c @@ -163,14 +163,14 @@ errout: int tc_init(off_t offset) { - uint8_t buf[4] = { 0, 0, 0, CTRL_INIT_CMD }; + uint8_t buf[4] = { 0, 0, 0, CTRL_INIT }; return tc_write(offset, buf, 4); } int tc_next(off_t offset) { - uint8_t buf[4] = { 0, 0, 0, CTRL_NEXT_CMD }; + uint8_t buf[4] = { 0, 0, 0, CTRL_NEXT }; return tc_write(offset, buf, 4); } @@ -198,11 +198,11 @@ int tc_wait(off_t offset, uint8_t status, int *count) int tc_wait_ready(off_t offset) { int limit = 256; - return tc_wait(offset, STATUS_READY_BIT, &limit); + return tc_wait(offset, STATUS_READY, &limit); } int tc_wait_valid(off_t offset) { int limit = 256; - return tc_wait(offset, STATUS_VALID_BIT, &limit); + return tc_wait(offset, STATUS_VALID, &limit); } |