summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;