From 5b2857fba2fe5a364468ddfbeb20c056f4f2bbca Mon Sep 17 00:00:00 2001 From: knolax <1339802534.kk@gmail.com> Date: Tue, 19 Dec 2017 23:53:12 -0500 Subject: changed tick rate of update thread for testing purposes --- skey.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/skey.c b/skey.c index 7d1e055..5038e36 100644 --- a/skey.c +++ b/skey.c @@ -85,7 +85,9 @@ int skey_update_thread (void *data) { } } //sleep 2000us= 2ms = 0.002 seconds - usleep_range(2000, 2000); + //usleep_range(2000, 2000); + //sleeps = 1000000us = 1000ms = 1s + usleep_range(1000000,1000000); //for when the thread has to stop if (kthread_should_stop()) { break; -- cgit v1.1