aboutsummaryrefslogtreecommitdiff
path: root/hid-tmt300rs.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-03-23 18:39:27 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2022-03-23 18:39:27 +0200
commitfed8081d45d05ecf2b557515e17a5005b90a7e96 (patch)
tree55838cf27bc364cf0b065e29921eb3fce8d6c24e /hid-tmt300rs.c
parent3eba47f56dcb539b3dd475b9906ed9af7bd8db7f (diff)
downloadhid-tmff2-fed8081d45d05ecf2b557515e17a5005b90a7e96.tar.gz
hid-tmff2-fed8081d45d05ecf2b557515e17a5005b90a7e96.zip
test open/close
Diffstat (limited to 'hid-tmt300rs.c')
-rw-r--r--hid-tmt300rs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hid-tmt300rs.c b/hid-tmt300rs.c
index 92e9acd..167262c 100644
--- a/hid-tmt300rs.c
+++ b/hid-tmt300rs.c
@@ -340,7 +340,7 @@ static u8 damper_values[] = {
0x7f, 0x07
};
-static int t300rs_send_buf(struct t300rs_device_entry *t300rs, u8 *send_buffer, size_t len)
+int t300rs_send_buf(struct t300rs_device_entry *t300rs, u8 *send_buffer, size_t len)
{
int i;
/* check that send_buffer fits into our report */
@@ -359,7 +359,7 @@ static int t300rs_send_buf(struct t300rs_device_entry *t300rs, u8 *send_buffer,
return 0;
}
-static int t300rs_send_int(struct t300rs_device_entry *t300rs)
+int t300rs_send_int(struct t300rs_device_entry *t300rs)
{
t300rs_send_buf(t300rs, t300rs->send_buffer, t300rs->buffer_length);
memset(t300rs->send_buffer, 0, t300rs->buffer_length);