From 572ee10c73a4120699f98aedef1ac777861980b1 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 25 Apr 2011 21:52:24 +0100 Subject: [PATCH] hidrawconv: fix LAST_BITS macro (broken since it was introduced in f7dce805 --- hostside/hidrawconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hostside/hidrawconv.c b/hostside/hidrawconv.c index bbb1edc..a642b0b 100644 --- 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); */ -- 2.30.2