summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknolax <1339802534.kk@gmail.com>2017-12-19 23:53:12 -0500
committerknolax <1339802534.kk@gmail.com>2017-12-19 23:53:12 -0500
commit5b2857fba2fe5a364468ddfbeb20c056f4f2bbca (patch)
tree1ce4c9f289e134c3a34d34ad270b95f33a1dc765
parente8b98493336cd9bcc1f63eb2121aaa14d2062d3b (diff)
changed tick rate of update thread for testing purposesHEADmaster
-rw-r--r--skey.c4
1 files changed, 3 insertions, 1 deletions
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;