diff options
author | Arvid Bjorkengren <arvid@gaisler.com> | 2012-10-22 15:51:59 +0200 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2012-11-19 15:11:38 +0100 |
commit | dab8f0822bcc965516066c18da8f8277b1aebe68 (patch) | |
tree | c705851b695e4e3198a312b73f4d111c68e03cb1 | |
parent | 22cc3f47c68fc8806beef033bae389fcbae0e9c0 (diff) |
RMAP: Removed a compile warning.
-rw-r--r-- | c/src/lib/libbsp/sparc/shared/spw/rmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/spw/rmap.c b/c/src/lib/libbsp/sparc/shared/spw/rmap.c index fede5686a3..a3fe60f8bc 100644 --- a/c/src/lib/libbsp/sparc/shared/spw/rmap.c +++ b/c/src/lib/libbsp/sparc/shared/spw/rmap.c @@ -476,7 +476,7 @@ int rmap_send(void *cookie, struct rmap_command *cmd) /*** Determine if stack must wait for response to arrive after transmission ***/ wait_response = 0; - if ( (cmd->type & RMAP_CMD_WRITE == 0) || /* READ ALWAYS RETURNS DATA */ + if ( ((cmd->type & RMAP_CMD_WRITE) == 0) || /* READ ALWAYS RETURNS DATA */ (cmd->type & RMAP_CMD_ACKNOWLEDGE) /* WAIT FOR ACK */ ) wait_response = 1; |