aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-04-02 21:43:28 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-04-02 21:43:28 +0300
commit0471da28f10feb5f3ad58fe8233810cf031b90da (patch)
tree783c14a258fe1c1d26c1bfa50b852d726b630dd1
parentc06a80f1d1e2ef003eb99d8b1fb24e9562f5eb27 (diff)
downloadhid-tmff2-0471da28f10feb5f3ad58fe8233810cf031b90da.tar.gz
hid-tmff2-0471da28f10feb5f3ad58fe8233810cf031b90da.zip
remove debugging print
-rw-r--r--hid-tmt300rs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hid-tmt300rs.c b/hid-tmt300rs.c
index d637431..aee30d5 100644
--- a/hid-tmt300rs.c
+++ b/hid-tmt300rs.c
@@ -1170,7 +1170,6 @@ static int t300rs_switch_mode(void *data, uint16_t mode)
if (!t300rs)
return -ENODEV;
- hid_info(t300rs->hdev, "switch\n");
if(t300rs->mode == mode) /* already in specified mode */
return 0;
@@ -1567,7 +1566,7 @@ static int t300rs_wheel_init(struct tmff2_device_entry *tmff2)
t300rs->close = t300rs->input_dev->close;
/* TODO: PS4 advanced mode? */
- alt_mode = t300rs->mode = (t300rs->hdev->product == TMT300RS_PS3_ADV_ID);
+ alt_mode = (t300rs->mode = (t300rs->hdev->product == TMT300RS_PS3_ADV_ID));
if ((t300rs->attachment = t300rs_get_attachment(t300rs)) < 0)
t300rs->attachment = T300RS_DEFAULT_ATTACHMENT;