From: Jan "Yenya" Kasprzak Date: Sun, 21 Jul 2013 21:44:14 +0000 (+0200) Subject: main.c: slower ambient light logging X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=f57ba1ce2dbe3f1dea6b57101e22218a57ac1d81;p=bike-lights.git main.c: slower ambient light logging --- diff --git a/firmware/main.c b/firmware/main.c index 5529a15..9fdc2fb 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -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(); } }