chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(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 bbb1edc10c753ddd1ae1f4f89faec34874edf643..a642b0b5dbbc18a21d27de36161ccab9da3676a3 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);
*/