From 05b139f4407890a8671bc3f40c48e4d54e3a83c5 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Tue, 5 May 2015 16:15:10 -0400 Subject: Rename bitmask symbols. --- sw/tc_eim.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sw/tc_eim.c') 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); } -- cgit v1.2.3