chiark
/
gitweb
/
~ijackson
/
trains
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0fca0b8
)
hidrawconv: fix LAST_BITS macro (broken since it was introduced in f7dce805
author
Ian Jackson
<ian@davenant.greenend.org.uk>
Mon, 25 Apr 2011 20:52:24 +0000 (21:52 +0100)
committer
Ian Jackson
<ian@davenant.greenend.org.uk>
Mon, 25 Apr 2011 20:52:24 +0000 (21:52 +0100)
hostside/hidrawconv.c
patch
|
blob
|
history
diff --git
a/hostside/hidrawconv.c
b/hostside/hidrawconv.c
index
bbb1edc
..
a642b0b
100644
(file)
--- a/
hostside/hidrawconv.c
+++ b/
hostside/hidrawconv.c
@@
-45,7
+45,7
@@
static LastReports lasts;
else
#define MSG_BITS(ent) (msg[(ent)->pos] & (ent)->mask)
-#define LAST_BITS(ent) (msg[(ent)->pos] & (ent)->mask)
+#define LAST_BITS(ent) (last[(ent)->pos] & (ent)->mask)
/* uint8_t MSG_BITS(EntType *ent);
* uint8_t LAST_BITS(EntType *ent);
*/