summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArvid Bjorkengren <arvid@gaisler.com>2012-10-22 15:51:59 +0200
committerDaniel Hellstrom <daniel@gaisler.com>2012-11-19 15:11:38 +0100
commitdab8f0822bcc965516066c18da8f8277b1aebe68 (patch)
treec705851b695e4e3198a312b73f4d111c68e03cb1
parent22cc3f47c68fc8806beef033bae389fcbae0e9c0 (diff)
RMAP: Removed a compile warning.
-rw-r--r--c/src/lib/libbsp/sparc/shared/spw/rmap.c2
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;