aboutsummaryrefslogtreecommitdiff
path: root/hid-tmt300rs.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2020-11-06 12:12:57 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2020-11-06 12:12:57 +0200
commitddaa7db31b8524ad5df3a79407ce0a69af2f490c (patch)
tree9c3670db45217f0edca38f66e35e90abe7461b66 /hid-tmt300rs.h
parent9b3a6c121aecd10548adda97d1f5f10134a335cf (diff)
downloadhid-tmff2-ddaa7db31b8524ad5df3a79407ce0a69af2f490c.tar.gz
hid-tmff2-ddaa7db31b8524ad5df3a79407ce0a69af2f490c.zip
Fixed indexing of send_buffer with regard to new interrupt mechanism
Diffstat (limited to 'hid-tmt300rs.h')
-rw-r--r--hid-tmt300rs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hid-tmt300rs.h b/hid-tmt300rs.h
index 140cf9d..2d05127 100644
--- a/hid-tmt300rs.h
+++ b/hid-tmt300rs.h
@@ -5,7 +5,7 @@
#include <linux/fixp-arith.h>
#define T300RS_MAX_EFFECTS 16
-#define T300RS_BUFFER_LENGTH 64
+#define T300RS_BUFFER_LENGTH 63
/* the wheel seems to only be capable of processing a certain number of
* interrupts per second, and if this value is too low the kernel urb buffer(or