More reaction on light
This commit is contained in:
parent
7ab9942de6
commit
d2ec18fa37
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user