More reaction on light

This commit is contained in:
Thammi 2013-09-06 00:44:05 +02:00
parent 7ab9942de6
commit d2ec18fa37

View File

@ -8,7 +8,7 @@
#include <pentabug/helper.h> #include <pentabug/helper.h>
inline uint16_t biased_random(uint8_t value) { inline uint16_t biased_random(uint8_t value) {
return value / 8 * (rand() & 7); return value / 4 * (rand() & 7);
} }
static void init(void) { static void init(void) {