From d2ec18fa372816b972fed8cb3819c5019aff0aac Mon Sep 17 00:00:00 2001 From: Thammi Date: Fri, 6 Sep 2013 00:44:05 +0200 Subject: [PATCH] More reaction on light --- firmware/apps/buggy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/apps/buggy.c b/firmware/apps/buggy.c index 637618b..e38b200 100644 --- a/firmware/apps/buggy.c +++ b/firmware/apps/buggy.c @@ -8,7 +8,7 @@ #include inline uint16_t biased_random(uint8_t value) { - return value / 8 * (rand() & 7); + return value / 4 * (rand() & 7); } static void init(void) {