diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-15 15:34:52 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-15 15:34:52 +0100 |
commit | a5ba3499fb1e46fcbbece4c28d6eb6aebab88239 (patch) | |
tree | ddd6e3e9f0afda04d66455d922ef4534cd7ec970 | |
parent | 529c34efef580066b41156556bf3fe7668ddf97a (diff) | |
download | snake-a5ba3499fb1e46fcbbece4c28d6eb6aebab88239.tar snake-a5ba3499fb1e46fcbbece4c28d6eb6aebab88239.zip |
Cycle LFSR on mix
-rw-r--r-- | snake.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -47,6 +47,7 @@ static uint16_t rand(void) { static void rand_mix(uint16_t mix) { lfsr ^= mix; + rand(); } static void rand_q(void) { |