diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-01-08 15:24:37 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-01-08 15:24:37 +0200 |
| commit | f71d11b5ea1349f518fa5cd22b5cdfbec96af5d3 (patch) | |
| tree | c2366732025215c0dcd7ca15bb7a048bd561fd6c /hid-tmt300rs.c | |
| parent | 45af2075a74ae738646028a44ecaa876f6e4c2dc (diff) | |
| download | hid-tmff2-f71d11b5ea1349f518fa5cd22b5cdfbec96af5d3.tar.gz hid-tmff2-f71d11b5ea1349f518fa5cd22b5cdfbec96af5d3.zip | |
Made timer user configurable
Diffstat (limited to 'hid-tmt300rs.c')
| -rw-r--r-- | hid-tmt300rs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hid-tmt300rs.c b/hid-tmt300rs.c index 530bb64..c97aac6 100644 --- a/hid-tmt300rs.c +++ b/hid-tmt300rs.c @@ -1,5 +1,9 @@ #include "hid-tmt300rs.h" +static int timer_msecs = DEFAULT_TIMER_PERIOD; +module_param(timer_msecs, int, 0660); +MODULE_PARM_DESC(timer_msecs, "Timer resolution in msecs"); + static int spring_level = 30; module_param(spring_level, int, 0); MODULE_PARM_DESC(spring_level, "Level of spring force (0-100), as per Oversteer standards"); |
