From: Fredrik Tolf Date: Sat, 30 Jun 2007 20:20:10 +0000 (+0000) Subject: Only run the conversion cycle at 5 Hz. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=9ac074a90fa79ae7619a9fd91a160ce8d5535c98;p=kokare.git Only run the conversion cycle at 5 Hz. --- diff --git a/kokare.c b/kokare.c index 12fbf9a..67324b1 100644 --- a/kokare.c +++ b/kokare.c @@ -224,6 +224,7 @@ void convcycle(void) a = (float)ttimea; state = 1; tavgok = 0; + last = mnow; } } else if(state == 1) { ra = a * C;