diff options
author | Rutger Broekhoff | 2021-05-25 20:31:45 +0200 |
---|---|---|
committer | Rutger Broekhoff | 2021-05-25 20:31:45 +0200 |
commit | 3b6b7b5eefe6270f126048d7a1ff5919f1da18cf (patch) | |
tree | 56bc19335962d770d8563749d9c03905bc305aeb /src/crc16.zig | |
parent | d8597fe575644ddf5f1f8ef8cf901a446bc7acda (diff) | |
download | zig-nkeys-3b6b7b5eefe6270f126048d7a1ff5919f1da18cf.tar.gz zig-nkeys-3b6b7b5eefe6270f126048d7a1ff5919f1da18cf.zip |
Clean up a few small-ish things
Diffstat (limited to 'src/crc16.zig')
-rw-r--r-- | src/crc16.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crc16.zig b/src/crc16.zig index 2c49500..b69dcbc 100644 --- a/src/crc16.zig +++ b/src/crc16.zig | |||
@@ -1,7 +1,7 @@ | |||
1 | pub const InvalidChecksumError = error{InvalidChecksum}; | 1 | pub const InvalidChecksumError = error{InvalidChecksum}; |
2 | 2 | ||
3 | const crc16tab: [256]u16 = tab: { | 3 | const crc16tab: [256]u16 = tab: { |
4 | @setEvalBranchQuota(10000); | 4 | @setEvalBranchQuota(5000); |
5 | 5 | ||
6 | // CRC-16-CCITT/XMODEM | 6 | // CRC-16-CCITT/XMODEM |
7 | const poly: u32 = 0x1021; | 7 | const poly: u32 = 0x1021; |