Blink 25 times per second instead of 100
authorteodor <teodor>
Fri, 4 Dec 2009 16:16:27 +0000 (16:16 +0000)
committerteodor <teodor>
Fri, 4 Dec 2009 16:16:27 +0000 (16:16 +0000)
blinker.c

index 7127eda..5851890 100644 (file)
--- a/blinker.c
+++ b/blinker.c
@@ -300,7 +300,10 @@ main(int argc, char *argv[]) {
                                (curData.op == oldData.op) ? 0 : 1 /* Rx */
                );
 
-               usleep(10000);
+               /*
+                * 25 times per second
+                */
+               usleep(40000);
        }
 
        blinker.exec(&blinker, 0, 0);