diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2020-07-10 18:42:11 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2020-07-10 18:42:11 +0300 |
| commit | 11c7bb0526d1ddd20d86b9cb2981b3a213d40404 (patch) | |
| tree | 64edb8b4d660b5dd2e5edfc8e4af11da67cc02c2 /hid-tmt300rs.h | |
| parent | 2031f19d346e5abcfaa1feb35103fba52dd5c55c (diff) | |
| download | hid-tmff2-11c7bb0526d1ddd20d86b9cb2981b3a213d40404.tar.gz hid-tmff2-11c7bb0526d1ddd20d86b9cb2981b3a213d40404.zip | |
incorrect usage of git
Diffstat (limited to 'hid-tmt300rs.h')
| -rw-r--r-- | hid-tmt300rs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hid-tmt300rs.h b/hid-tmt300rs.h index 1cc3424..b308627 100644 --- a/hid-tmt300rs.h +++ b/hid-tmt300rs.h @@ -4,10 +4,10 @@ #include <linux/ktime.h> #include <linux/fixp-arith.h> -#define T300RS_MAX_EFFECTS FF_MAX_EFFECTS +#define T300RS_MAX_EFFECTS 16 #define T300RS_BUFFER_LENGTH 64 -#define DEFAULT_TIMER_PERIOD 16 /* the wheel seems to be bad at stuff*/ +#define DEFAULT_TIMER_PERIOD 4 /* the wheel seems to be bad at stuff*/ #define FF_EFFECT_QUEUE_UPLOAD 0 #define FF_EFFECT_QUEUE_START 1 @@ -44,7 +44,7 @@ static const signed short t300rs_ff_effects[] = { struct t300rs_effect_state { struct ff_effect effect; unsigned long flags; - unsigned int start_time; + unsigned long start_time; unsigned long count; }; |
