]> www.fi.muni.cz Git - bike-lights.git/commitdiff
main.c: slower ambient light logging
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Sun, 21 Jul 2013 21:44:14 +0000 (23:44 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Sun, 21 Jul 2013 21:44:14 +0000 (23:44 +0200)
firmware/main.c

index 5529a1508dfd406f139203a0e1ecc80100ef2159..9fdc2fb95bde5c3418f732b1bf9f1204da4d0432 100644 (file)
@@ -107,7 +107,7 @@ static void inline do_timer()
                timer_start_slow_adcs();
        }
        ATOMIC_BLOCK(ATOMIC_FORCEON) {
-               if ((jiffies & 0x1FF) == 0)
+               if ((jiffies & 0x3FF) == 0)
                        ambient_log_min_max();
        }
 }