mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-20 12:45:40 -05:00
DMR: Kirisun LFSR Fix; #319
This commit is contained in:
@@ -544,7 +544,7 @@ uint32_t kirisun_lfsr(unsigned long long int mi)
|
|||||||
byte |= (1 << j);
|
byte |= (1 << j);
|
||||||
lfsr = temp ^ taps;
|
lfsr = temp ^ taps;
|
||||||
}
|
}
|
||||||
else lfsr = temp ^ 1;
|
else lfsr = temp; //was previously temp ^ 1, but that isn't a primitive
|
||||||
}
|
}
|
||||||
|
|
||||||
new_mi <<=8;
|
new_mi <<=8;
|
||||||
|
|||||||
Reference in New Issue
Block a user