Cycle LFSR on mix
This commit is contained in:
parent
529c34efef
commit
a5ba3499fb
1 changed files with 1 additions and 0 deletions
1
snake.c
1
snake.c
|
@ -47,6 +47,7 @@ static uint16_t rand(void) {
|
||||||
|
|
||||||
static void rand_mix(uint16_t mix) {
|
static void rand_mix(uint16_t mix) {
|
||||||
lfsr ^= mix;
|
lfsr ^= mix;
|
||||||
|
rand();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void rand_q(void) {
|
static void rand_q(void) {
|
||||||
|
|
Reference in a new issue