From f57ba1ce2dbe3f1dea6b57101e22218a57ac1d81 Mon Sep 17 00:00:00 2001 From: "Jan \"Yenya\" Kasprzak" Date: Sun, 21 Jul 2013 23:44:14 +0200 Subject: [PATCH] main.c: slower ambient light logging --- firmware/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } } -- 2.43.5