diff options
author | knolax <1339802534.kk@gmail.com> | 2017-12-19 23:53:12 -0500 |
---|---|---|
committer | knolax <1339802534.kk@gmail.com> | 2017-12-19 23:53:12 -0500 |
commit | 5b2857fba2fe5a364468ddfbeb20c056f4f2bbca (patch) | |
tree | 1ce4c9f289e134c3a34d34ad270b95f33a1dc765 | |
parent | e8b98493336cd9bcc1f63eb2121aaa14d2062d3b (diff) |
-rw-r--r-- | skey.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |