diff options
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; |