aboutsummaryrefslogtreecommitdiffstats
path: root/src/rng.c
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-06-11 17:12:13 +0200
committerBad Diode <bd@badd10de.dev>2021-06-11 17:12:13 +0200
commit562f435116748b259ef5cd97d36e6049c1d9fbc7 (patch)
tree66277341c5ebbe68fc6f15291788485a62561efe /src/rng.c
parent5cd6fa9ce339189d5e4e57d78206254f687507fa (diff)
downloadstepper-562f435116748b259ef5cd97d36e6049c1d9fbc7.tar.gz
stepper-562f435116748b259ef5cd97d36e6049c1d9fbc7.zip
Add memcpy32 inline function
Diffstat (limited to 'src/rng.c')
-rw-r--r--src/rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rng.c b/src/rng.c
index 96760b8..58a517b 100644
--- a/src/rng.c
+++ b/src/rng.c
@@ -1,4 +1,4 @@
1u16 rng_state; 1static u16 rng_state = 0;
2 2
3u32 hash16(u32 input, u32 key) { 3u32 hash16(u32 input, u32 key) {
4 u32 hash = input * key; 4 u32 hash = input * key;